diff options
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 |