ntfs-3g can be built only with gcc on Solaris

This commit is contained in:
szaka 2008-08-11 16:08:31 +00:00
parent 9119ac8de2
commit 330c50c530

View File

@ -168,11 +168,19 @@ freebsd*)
AC_MSG_ERROR([Please see FreeBSD support at http://www.freshports.org/sysutils/fusefs-ntfs])
;;
*)
AC_MSG_ERROR([ntfs-3g can be built only under Linux, FreeBSD, Mac OS X, and NetBSD.])
AC_MSG_ERROR([ntfs-3g can be built for Linux, FreeBSD, Mac OS X, NetBSD, and Solaris only.])
;;
esac
AC_MSG_RESULT([${with_fuse}])
case "${target_os}" in
solaris*)
if test "x$GCC" != "xyes" ; then
AC_MSG_ERROR([ntfs-3g can be built only with gcc on Solaris. Install it by 'pkg install gcc-dev' and retry.)])
fi
;;
esac
if test "${enable_ldscript}" = "yes"; then
AC_MSG_CHECKING([Output format])
OUTPUT_FORMAT="$(${CC} ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | ${SED} -n 's/^OUTPUT_FORMAT("\([[^"]]*\)",.*/\1/p')"