Commit d0450074 authored by Marc G. Fournier's avatar Marc G. Fournier

Oops, just about forgot to commit this one too :(

parent b78a3de9
......@@ -11,13 +11,21 @@ else
ECHO_C='\c'
fi
$ECHO_N "Additional directories to search for include and library files []: $ECHO_C"
$ECHO_N "Additional directories to search for .h files []: $ECHO_C"
read a
if [ "$a." != "." ]
if [ "$a." = "." ]
then
ADD_INC_DIRS=
else
ADD_INC_DIRS=`echo "$a" | sed 's@ *@ @g; s@^\([^ ]\)@-I\1@; s@ \([^ ]\)@ -I\1@g'`
INC_CFLAGS="$ADD_INC_DIRS"
CPPFLAGS="$ADD_INC_DIRS" ; export CPPFLAGS
CFLAGS="$ADD_INC_DIRS" ; export CFLAGS
fi
$ECHO_N "Additional directories to search for library files []: $ECHO_C"
read a
if [ "$a." != "." ]
then
ADD_LIB_DIRS=`echo "$a" | sed 's@ *@ @g; s@^\([^ ]\)@-L\1@; s@ \([^ ]\)@ -L\1@g'`
LDFLAGS="$ADD_LIB_DIRS" ; export LDFLAGS
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment