more accurate heuristic for automake --include-deps in autogen.sh



this patch makes autogen only use --include-deps when you are using gcc.

ok to commit (and also pango, gtk+, gconf etc. who use this)?

jacob
-- 
Index: autogen.sh
===================================================================
RCS file: /cvs/gnome/glib/autogen.sh,v
retrieving revision 1.16
diff -u -r1.16 autogen.sh
--- autogen.sh	2001/06/26 16:00:39	1.16
+++ autogen.sh	2002/02/28 21:07:23
@@ -73,7 +73,10 @@
 fi
 
 case $CC in
-*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
+    *gcc | *gcc\ *) 
+	;;
+    *) 
+	am_opt=--include-deps;;
 esac
 
 aclocal $ACLOCAL_FLAGS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]