Changeset 162 for trunk/configure.ac


Ignore:
Timestamp:
Aug 20, 2006, 1:01:59 AM (14 years ago)
Author:
Jari Häkkinen
Message:

Addresses #33. 'configure' now checks for APR libraries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r161 r162  
    5656fi
    5757
     58# Apache Portable Runtime (APR) checks
    5859AC_ARG_WITH(apr,
    5960  [  --with-apr=DIR          prefix for installed APR or path to APR build
     
    6263  [ APR_PATH=$prefix ])
    6364AC_SUBST(APR_PATH)
     65# Include macros distributed within the APR project
     66sinclude(./build_support/find_apr.m4)
     67APR_FIND_APR(,,1)
    6468
    6569AC_ARG_WITH(svn,
     
    9296     at http://www.gnuplot.info).])
    9397
     98if test $apr_found = "no"; then
     99    AC_MSG_WARN([APR not found. The Apache Portable Runtime (APR)
     100    library cannot be found. Please supply the appropriate --with-apr
     101    option to 'configure'.])
     102fi
     103
    94104echo ""
    95 echo "      Now type 'make ; make check'."
     105echo "If no warnings appear above it is safe to type 'make ; make check'."
    96106echo ""
Note: See TracChangeset for help on using the changeset viewer.