When testing to see if glib exists, set LIBS="$GLIB_LIBS $LIBS" NOT

When testing to see if glib exists, set
	LIBS="$GLIB_LIBS $LIBS"
NOT
	LIBS="$LIBS $GLIB_LIBS"
because order matters - if the user specifies their own $LIBS to
./configure, these need to be passed in last.
This commit is contained in:
Elliot Lee 1998-12-31 20:58:03 +00:00
parent c3dc4fafbf
commit b16bea1a87

View File

@ -60,7 +60,7 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and ru
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$LIBS $GLIB_LIBS"
LIBS="$GLIB_LIBS $LIBS"
dnl
dnl Now check if the installed GLIB is sufficiently new. (Also sanity
dnl checks the results of glib-config to some extent