--- libIDL/configure.orig 2002-06-06 07:27:28.000000000 -0400 +++ libIDL/configure 2010-11-28 19:24:57.000000000 -0500 @@ -2992,7 +2992,7 @@ if test -z "$ac_cpp_err"; then else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - CPPFLAGS="$saved_CPPFLAGS -I" + CPPFLAGS="$saved_CPPFLAGS -nostdinc" cat >conftest.$ac_ext <<_ACEOF #line 2997 "configure" #include "confdefs.h" @@ -3015,7 +3015,7 @@ else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then - ac_cv_cpp_nostdinc=-I + ac_cv_cpp_nostdinc=-nostdinc else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 @@ -5915,7 +5915,7 @@ freebsd1*) ;; freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` version_type=freebsd-$objformat case $version_type in freebsd-elf*) @@ -7418,6 +7418,7 @@ fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" +$ac_aux_dir/ltconfig $LIBTOOL_DEPS # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool'