aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-08-23 08:03:32 +0000
committerNick Clifton <nickc@redhat.com>2002-08-23 08:03:32 +0000
commit8e523c2334366c29b077a870e0cdc6606d16369e (patch)
tree1e60d751ab8e2652fce2915f9234d4a130d79ea6 /ld/configure.in
parentf52e0eb85221a6773158e7be348cd1b46e2553b0 (diff)
downloadgdb-8e523c2334366c29b077a870e0cdc6606d16369e.zip
gdb-8e523c2334366c29b077a870e0cdc6606d16369e.tar.gz
gdb-8e523c2334366c29b077a870e0cdc6606d16369e.tar.bz2
Add --with-lib-patch configure switch.
Diffstat (limited to 'ld/configure.in')
-rw-r--r--ld/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/configure.in b/ld/configure.in
index b89c2a1..e356437 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -13,6 +13,7 @@ AM_INIT_AUTOMAKE(ld, ${BFD_VERSION})
AM_PROG_LIBTOOL
+AC_ARG_WITH(lib-path, [ --with-lib-path=dir1:dir2... set default LIB_PATH],LIB_PATH=$withval)
AC_ARG_ENABLE(targets,
[ --enable-targets alternative target configurations],
[case "${enableval}" in
@@ -31,7 +32,7 @@ esac],[want64=false])dnl
build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
AC_ARG_ENABLE(build-warnings,
-[ --enable-build-warnings Enable build-time compiler warnings if gcc is used],
+[ --enable-build-warnings enable build-time compiler warnings if gcc is used],
[case "${enableval}" in
yes) ;;
no) build_warnings="-w";;
@@ -202,6 +203,7 @@ else
fi
AC_SUBST(EMULATION_OFILES)
AC_SUBST(EMUL_EXTRA_OFILES)
+AC_SUBST(LIB_PATH)
EMULATION_LIBPATH=$all_libpath
AC_SUBST(EMULATION_LIBPATH)