summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
-rw-r--r--configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index de2ad71..5c26f51 100755
--- a/configure
+++ b/configure
@@ -9372,7 +9372,7 @@ fi
DYNAMIC_DIRS=""
if test -n "$LDFLAGS"; then
- for d in X $LDFLAGS ; do
+ for d in $LDFLAGS ; do
case "$d" in
-L*)
d=`echo $d | sed -e 's/-L//g'`
@@ -9390,7 +9390,7 @@ fi
if test -n "$CPPFLAGS"; then
TEMP_CPPFLAGS=""
- for d in X $CPPFLAGS ; do
+ for d in $CPPFLAGS ; do
case "$d" in
-I.*)
d=`echo $d | sed -e 's/-I//g'`
diff --git a/configure.in b/configure.in
index 35b2f7d..549dc32 100644
--- a/configure.in
+++ b/configure.in
@@ -1403,7 +1403,7 @@ dnl libraries.
dnl
DYNAMIC_DIRS=""
if test -n "$LDFLAGS"; then
- for d in X $LDFLAGS ; do
+ for d in $LDFLAGS ; do
case "$d" in
-L*)
d=`echo $d | sed -e 's/-L//g'`
@@ -1423,7 +1423,7 @@ AC_SUBST(DYNAMIC_DIRS)
if test -n "$CPPFLAGS"; then
TEMP_CPPFLAGS=""
- for d in X $CPPFLAGS ; do
+ for d in $CPPFLAGS ; do
case "$d" in
-I.*)
dnl If the path isn't absolute, make it so by prepending