"Fossies" - the Fresh Open Source Software Archive

Member "tcpflow-1.6.1/m4/slg_searchdirs.m4" (19 Feb 2021, 911 Bytes) of package /linux/misc/tcpflow-1.6.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "slg_searchdirs.m4": 1.5.0_vs_1.6.1.

    1 if test x"${mingw}" != "xyes" ; then
    2 
    3   case $host in
    4     *mingw*)
    5        AC_MSG_NOTICE([Compiling under mingw; will not search other directories.])
    6        ;;
    7     *)
    8        AC_MSG_NOTICE(Compiling under $host.)
    9        # Bring additional directories where things might be found into our
   10        # search path. I don't know why autoconf doesn't do this by default
   11        for spfx in /usr/local /opt/local /sw /usr/local/ssl; do
   12          AC_MSG_NOTICE([checking ${spfx}/include])
   13          if test -d ${spfx}/include; then
   14            CPPFLAGS="$CPPFLAGS -I${spfx}/include"
   15            LDFLAGS="$LDFLAGS -L${spfx}/lib"
   16            AC_MSG_NOTICE([ *** ADDING ${spfx}/include to CPPFLAGS *** ])
   17            AC_MSG_NOTICE([ *** ADDING ${spfx}/lib to LDFLAGS *** ])
   18          fi
   19        done
   20        AC_MSG_NOTICE([ CPPFLAGS = ${CPPFLAGS} ])        
   21        AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ])        
   22        ;;
   23   esac
   24 fi
   25 
   26