From: Roy Marples Date: Tue, 15 Dec 2015 23:06:59 +0000 (+0000) Subject: autoconf --includedir is where include files are to be installed, not where we X-Git-Tag: v6.10.0~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f133bc2bc61fc45423c6639b889fce0d9797464a;p=thirdparty%2Fdhcpcd.git autoconf --includedir is where include files are to be installed, not where we should look during compile. Thanks to Nate Karstens. --- diff --git a/configure b/configure index 241fe1ab..e44cb20a 100755 --- 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 ... "