IRIX 6.5, autoconf 2.13 The tclodc packages uses the following construct in configure.in: #-------------------------------------------------------------------- # Determines the correct binary file extension (.o, .obj, .exe etc.) #-------------------------------------------------------------------- AC_LANG_SAVE AC_LANG_CPLUSPLUS AC_OBJEXT AC_EXEEXT AC_LANG_RESTORE Using autoconf 2.13, this expands to the following sh code: #-------------------------------------------------------------------- # Determines the correct binary file extension (.o, .obj, .exe etc.) #-------------------------------------------------------------------- ac_ext=C --<snip-snip>-- echo "configure:1251: checking for executable suffix" >&5 --<snip-snip>-- for file in conftest.*; do case $file in *.c | *.o | *.obj) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done which results in the executable suffix being set to `.C' since $ac_ext is not included in the `case' switch. This should better expand to something like for file in conftest.*; do case $file in ! # include $ac_ext here: ! *.c | *.o | *.obj | *.$ac_ext) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done Regards R' -- Press any key... no, no, no, NOT THAT ONE!