[patch] Use $libdir instead of /usr/lib in configure.in for soup (#35554)
Jeremy Katz <[email protected]> 12 Dec 2002 20:47:05 -0500
| Newsgroups | gmane.comp.gnome.ximian.soup,gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <[email protected]> |
Several of the configure checks default to using /usr/lib if a directory isn't specified. They should instead use $libdir so that they work on multilib systems where libdir is /usr/lib64 Attached patch against 0.7.9 fixes this Jeremy
soup-0.7.9-lib64.patch
(text/plain, 1.3 KB)
--- soup-0.7.9/configure.in.lib64 2002-12-12 20:21:32.000000000 -0500 +++ soup-0.7.9/configure.in 2002-12-12 20:22:21.000000000 -0500 @@ -159,13 +159,12 @@ AC_ARG_WITH(popt-libs, [ --with-popt-libs Specify location of popt libs], - [popt_prefix=$withval], - [popt_prefix=/usr/lib]) + [popt_prefix="-L$withval"]) save_CPPFLAGS=$CPPFLAGS save_LIBS=$LIBS CPPFLAGS="$CPPFLAGS $popt_inc_prefix" -LIBS="$LIBS -L$popt_prefix" +LIBS="$LIBS $popt_prefix" AC_CHECK_LIB(popt, poptGetContext, @@ -321,7 +320,7 @@ AC_ARG_WITH(nspr-libs, [ --with-nspr-libs Specify location of Netscape Portable Runtime libs], [nspr_prefix=$withval], - [nspr_prefix=/usr/lib]) + [nspr_prefix=$libdir]) AC_ARG_WITH(nss-includes, [ --with-nss-includes Specify location of NSS header files], @@ -330,7 +329,7 @@ AC_ARG_WITH(nss-libs, [ --with-nss-libs Specify location of NSS libs], [nss_prefix=$withval], - [nss_prefix=/usr/lib]) + [nss_prefix=$libdir]) AC_ARG_WITH(openssl-includes, @@ -340,7 +339,7 @@ AC_ARG_WITH(openssl-libs, [ --with-openssl-libs Specify location of OpenSSL libs], [openssl_prefix=$withval], - [openssl_prefix=/usr/lib]) + [openssl_prefix=$libdir]) ### ### Allow for a custom SSL proxy name