Bugzilla – Attachment 508 Details for
Bug 770
configure --without-rpath is incomplete
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix --without-rpath
rpath.patch (text/plain), 1.50 KB, created by
Tim Rice
on 2003-12-08 10:20:30 AEDT
(
hide
)
Description:
fix --without-rpath
Filename:
MIME Type:
Creator:
Tim Rice
Created:
2003-12-08 10:20:30 AEDT
Size:
1.50 KB
patch
obsolete
>--- configure.ac.old 2003-11-23 08:11:18.000000000 -0800 >+++ configure.ac 2003-12-08 09:12:42.305920053 -0800 >@@ -52,6 +52,18 @@ > CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized" > fi > >+AC_ARG_WITH(rpath, >+ [ --without-rpath Disable auto-added -R linker paths], >+ [ >+ if test "x$withval" = "xno" ; then >+ need_dash_r="" >+ fi >+ if test "x$withval" = "xyes" ; then >+ need_dash_r=1 >+ fi >+ ] >+) >+ > # Check for some target-specific stuff > case "$host" in > *-*-aix*) >@@ -228,7 +240,9 @@ > ;; > *-*-netbsd*) > check_for_libcrypt_before=1 >- need_dash_r=1 >+ if test "x$withval" != "xno" ; then >+ need_dash_r=1 >+ fi > ;; > *-*-freebsd*) > check_for_libcrypt_later=1 >@@ -252,8 +266,12 @@ > ;; > *-*-solaris*) > CPPFLAGS="$CPPFLAGS -I/usr/local/include" >- LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib" >- need_dash_r=1 >+ if test "x$withval" = "xno" ; then >+ LDFLAGS="$LDFLAGS -L/usr/local/lib" >+ else >+ LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib" >+ need_dash_r=1 >+ fi > AC_DEFINE(PAM_SUN_CODEBASE) > AC_DEFINE(LOGIN_NEEDS_UTMPX) > AC_DEFINE(LOGIN_NEEDS_TERM) >@@ -537,18 +555,6 @@ > AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen")) > AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME)) > >-AC_ARG_WITH(rpath, >- [ --without-rpath Disable auto-added -R linker paths], >- [ >- if test "x$withval" = "xno" ; then >- need_dash_r="" >- fi >- if test "x$withval" = "xyes" ; then >- need_dash_r=1 >- fi >- ] >-) >- > dnl zlib is required > AC_ARG_WITH(zlib, > [ --with-zlib=PATH Use zlib in PATH],
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 770
: 508