How do you test to see if the compiler supports a given option? Specifically, gcc -municode
i would do that: CFLAGS_save="${CFLAGS}" CFLAGS="${CFLAGS} -municode" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]])], [have_unicode="yes"], [have_unicode="no"]) AC_MSG_CHECKING([whether the compiler supports -municode]) AC_MSG_RESULT([${have_unicode}]) CFLAGS="${CFLAGS_save}" Vincent Torri _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf