2005-08-23 Andrew W. Nosenko * configure.in: Use $GCC = 'yes' instead of $CC = 'gcc' because GCC may be installed under bunch of names. Index: configure.in =================================================================== RCS file: /cvs/gnome/libxml2/configure.in,v retrieving revision 1.301 diff -u -p -u -p -r1.301 configure.in --- configure.in 12 Aug 2005 10:18:14 -0000 1.301 +++ configure.in 23 Aug 2005 15:42:52 -0000 @@ -746,7 +746,7 @@ if [[ "${LOGNAME}" = "veillard" -a "`pwd with_docbook="yes" fi fi - if test "${CC}" = "gcc" ; then + if test "${GCC}" = "yes" ; then CFLAGS="-g -O -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall" fi STATIC_BINARIES="-static" @@ -806,7 +806,7 @@ else THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS" ;; *linux*) - if test "${CC}" = "gcc" -a "${THREAD_LIBS}" = "-lpthread" ; then + if test "${GCC}" = "yes" -a "${THREAD_LIBS}" = "-lpthread" ; then THREAD_LIBS="" BASE_THREAD_LIBS="-lpthread" fi