diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-01-27 22:08:46 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-01-27 22:08:46 +0000 |
commit | 607949ed5e91d1472b04dd62be3d93234c97331e (patch) | |
tree | 9973aef3910e7b585b54de09ad41a003f85738eb /configure.in | |
parent | 342e557c5837699b6f2110567ec59989d37a1d47 (diff) | |
download | gtk+-607949ed5e91d1472b04dd62be3d93234c97331e.tar.gz |
Separate out GLIB_LIBS and GLIB_DEPLIBS. This may fix the --with-glib
Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com>
* Separate out GLIB_LIBS and GLIB_DEPLIBS. This
may fix the --with-glib option. GLIB_LIBS are
the libs to link example programs against, while
GLIB_DEPLIBS are dependency libraries.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in index b75cbdd239..19e2f59b9d 100644 --- a/configure.in +++ b/configure.in @@ -193,6 +193,7 @@ if test x$with_glib = x ; then glib_cflags=`$GLIB_CONFIG glib gmodule --cflags` glib_libs=`$GLIB_CONFIG glib gmodule --libs` GLIB_LIBS="$glib_libs" + GLIB_DEPLIBS="$glib_libs" else # Use uninstalled glib (assume they got the version right) @@ -219,8 +220,9 @@ else ;; esac - GLIB_CFLAGS="-I$glib_dir" - GLIB_LIBS=$glib_dir/libglib-$glib_release.la + GLIB_CFLAGS="-I$glib_dir -I$glib_dir/gmodule" + GLIB_LIBS="$glib_dir/libglib.la $glib_dir/gmodule.la" + GLIB_DEPLIBS= AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) @@ -228,6 +230,7 @@ fi AC_SUBST(glib_cflags) AC_SUBST(glib_libs) +AC_SUBST(GLIB_DEPLIBS) # Find the X11 include and library directories AC_PATH_X |