From 91372b39d6174fcfd3a3d4f12226d8c394844a31 Mon Sep 17 00:00:00 2001 From: Bill Medland Date: Sat, 20 Apr 2002 21:00:42 +0000 Subject: [PATCH] Get the ldconfig check to work for bash shells. --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 8c8ddabd3d9..3b4402a41ff 100755 --- a/configure +++ b/configure @@ -4130,7 +4130,7 @@ else ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /sbin:/usr/sbin:$PATH +for as_dir in /sbin /usr/sbin $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. diff --git a/configure.ac b/configure.ac index 3af335e628d..0f6002ea817 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,7 @@ AC_PROG_RANLIB AC_PROG_INSTALL AC_PROG_LN_S AC_CHECK_PROG(C2MAN,c2man,c2man,\$(TOPSRCDIR)/tools/c2man.pl) -AC_PATH_PROG(LDCONFIG, ldconfig, true, /sbin:/usr/sbin:$PATH) +AC_PATH_PROG(LDCONFIG, ldconfig, true, [/sbin /usr/sbin $PATH]) dnl Check for lint AC_CHECK_PROGS(LINT, lclint lint)