]> granicus.if.org Git - sudo/commitdiff
Add --with-blibpath for AIX. An alternate libpath may be specified or
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 21 Mar 2003 19:01:05 +0000 (19:01 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 21 Mar 2003 19:01:05 +0000 (19:01 +0000)
-blibpath support can be disabled.  Also change conifgure such that
-blibpath is not specified if no -L libpaths were added to SUDO_LDFLAGS.

aclocal.m4

index e48b16de6be86b409aeae0274fc42efb5010f679..a6363b6aad2d29823548f1851e89077728512c36 100644 (file)
@@ -337,6 +337,9 @@ AC_DEFUN(SUDO_APPEND_LIBPATH, [
     else
        $1="${$1} -L$2"
     fi
+    if test X"$blibpath" != X"" -a "$1" = "SUDO_LDFLAGS"; then
+       blibpath_add="${blibpath_add}:$2"
+    fi
 ])
 
 dnl