Commit 7bb6d76d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

When libidn is detected without explicitly told to, we provide -L/lib and

-I/include options. Not anymore.
parent 2467f814
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
@@ -968,7 +968,9 @@ case "$LIBIDN" in

       idn=""
       dnl if there is a given path, check that FIRST
       if test -n "$LIBIDN"; then
         if test "x$LIBIDN" != "xyes"; then
            AC_MSG_WARN([moo moo $LIBIDN])
            oldLDFLAGS=$LDFLAGS
            oldCPPFLAGS=$CPPFLAGS
            LDFLAGS="$LDFLAGS -L$LIBIDN/lib"
@@ -979,6 +981,7 @@ case "$LIBIDN" in
                         LDFLAGS=$oldLDFLAGS
                         CPPFLAGS=$oldCPPFLAGS)
         fi
       fi

       if test "x$idn" != "xyes"; then
          dnl check with default paths