Can we integrate this patch into popt, please?



Having an admittedly ugly $CC setting which is necessary to sneak options
past some decidedly antisocial (non-GNU) configure scripts, this patch to
popt/configure.in is necessary for ORBit to build here.  It's also more
correct, since someone may use a full pathname to gcc.

Index: popt/configure.in
===================================================================
RCS file: /cvs/gnome/popt/configure.in,v
retrieving revision 1.18
diff -u -r1.18 configure.in
--- configure.in	1999/02/12 04:50:52	1.18
+++ configure.in	1999/02/12 15:19:28
@@ -11,7 +11,7 @@
 AM_PROG_LIBTOOL
 AC_PROG_INSTALL
 
-if test $CC = gcc; then
+if test $ac_cv_prog_gcc = yes; then
     CFLAGS="-Wall $CFLAGS"
 fi
 addlib() {

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering					 KF8NH
carnegie mellon university	      ["God, root, what is difference?" -Pitr]



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