]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
autoconf --includedir is where include files are to be installed, not where we
authorRoy Marples <roy@marples.name>
Tue, 15 Dec 2015 23:06:59 +0000 (23:06 +0000)
committerRoy Marples <roy@marples.name>
Tue, 15 Dec 2015 23:06:59 +0000 (23:06 +0000)
should look during compile.
Thanks to Nate Karstens.

configure

index 241fe1abb397355ba832b2594cbf22cb2d1a98b9..e44cb20a74985bd98302a34c875b6fce04148a33 100755 (executable)
--- a/configure
+++ b/configure
@@ -21,7 +21,6 @@ TARGET=
 DEBUG=
 FORK=
 STATIC=
-INCLUDEDIR=
 DEVS=
 EMBEDDED=
 POLL=
@@ -78,8 +77,7 @@ for x do
        --serviceexists) SERVICEEXISTS=$var;;
        --servicecmd) SERVICECMD=$var;;
        --servicestatus) SERVICESTATUS=$var;;
-       --includedir) eval INCLUDEDIR="$INCLUDEDIR${INCLUDEDIR:+ }$var";;
-       --datadir|--infodir) ;; # ignore autotools
+       --datadir|--infodir|--includedir) ;; # ignore autotools
        --disable-maintainer-mode|--disable-dependency-tracking) ;;
        --disable-silent-rules) ;;
        -V|--version)
@@ -316,9 +314,6 @@ esac
 if [ "$STATIC" = yes ]; then
        echo "LDFLAGS+= -static" >>$CONFIG_MK
 fi
-for x in $INCLUDEDIR; do
-       echo "CPPFLAGS+=        -I$x" >>$CONFIG_MK
-done
 
 if [ -z "$DEBUG" -a -f .fslckout ]; then
        printf "Found fossil checkout ... "