merge from gcc
[deliverable/binutils-gdb.git] / libiberty / configure.in
index c84ece4ef41ba45435999145c2fd7040e2ae9dcc..a8dc66fa83c360a69765a751425da154d5bf45c8 100644 (file)
@@ -100,6 +100,16 @@ AC_CHECK_TOOL(RANLIB, ranlib, :)
 
 LIB_AC_PROG_CC
 
+AC_PROG_CC_C_O
+# autoconf is lame and doesn't give us any substitution variable for this.
+if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; then
+  NO_MINUS_C_MINUS_O=yes
+else
+  OUTPUT_OPTION='-o $@'
+fi
+AC_SUBST(NO_MINUS_C_MINUS_O)
+AC_SUBST(OUTPUT_OPTION)
+
 AC_ISC_POSIX
 AC_C_CONST
 AC_C_INLINE
This page took 0.023302 seconds and 4 git commands to generate.