Jeffrey Walton <noloader@xxxxxxxxx> writes: > AC_MSG_CHECKING([if $LDNAME supports $LDFLAGS]) > AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], > [AC_MSG_RESULT([yes]); AC_SUBST([tr_RESULT], [1])], > [AC_MSG_RESULT([no]); AC_SUBST([tr_RESULT], [0])] > ) Thanks for the example! Why is AC_COMPILE_IFELSE enough? Don't you have to invoke the linker itself to see if it accepts the option passed through? And is the "-Wl," part applicable to most/all compilers? BTW my other generic linker option is --enable-new-dtags. I'd be interested to hear opinions about its usage as well. I found no other way to run build-time test for a shared library dlopening modules. (I know libtool can provide better portability than dlopen.) -- Thanks, Feri _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf