withval=`cygpath -w ${withval} | sed -e 's@\\\\@/@g' `
fi
fi;
- CC="$withval"],
+ CC="$withval"
+ export CC
+ ],
[WhatGccIsCalled="gcc"]
)
AC_SUBST(WhatGccIsCalled)
dnl If gcc, make sure it's at least 2.1
dnl
FP_HAVE_GCC
+FP_MINGW_GCC
dnl ** figure out how to invoke cpp directly (gcc -E is no good)
AC_PROG_CPP
AC_CHECK_LIB([m], [atan], [LIBS="-lm $LIBS"; LIBM="-lm"], [LIBM=])
AC_SUBST([LIBM])
-dnl ** check for X Window System
-AC_PATH_XTRA()
-
-if test "$no_x" = yes; then
- GhcLibsWithX11=NO
-else
- GhcLibsWithX11=YES
-fi
-AC_SUBST([GhcLibsWithX11])
-
dnl ################################################################
dnl Check for libraries
dnl ################################################################
fi
dnl --------------------------------------------------
-dnl * test for GTK+
-dnl --------------------------------------------------
-
-AC_PATH_PROGS([GTK_CONFIG], [gtk-config gtk12-config])
-if test -n "$GTK_CONFIG"; then
- AC_CACHE_CHECK([for version of GTK+], [fp_cv_gtk_version],
- [fp_cv_gtk_version=`$GTK_CONFIG --version`])
- FP_COMPARE_VERSIONS([$fp_cv_gtk_version], [-lt], [1.2],
- [AC_MSG_WARN([GTK+ not usable, need at least version 1.2])
- GTK_CONFIG=])
-fi
-AC_SUBST([GTK_CONFIG])
-
-dnl --------------------------------------------------
dnl * Miscellaneous feature tests
dnl --------------------------------------------------