Skip to content

Commit

Permalink
ntfs-3g can be built only with gcc on Solaris
Browse files Browse the repository at this point in the history
  • Loading branch information
szaka committed Aug 11, 2008
1 parent 9119ac8 commit 330c50c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down

0 comments on commit 330c50c

Please sign in to comment.