diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-03-15 21:23:56 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-03-15 21:23:56 +0000 |
commit | 58c226dc7648fe411cc82a9558f456b8b98a7eec (patch) | |
tree | 0c4780acbd457d1487440b1d8eea42fdf33ac772 /configure.ac | |
parent | 0822c46070f35fcd1926a0af3e7ac2d1e538f95f (diff) |
more fixes
svn path=/trunk/externals/iem/snmp/; revision=7494
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c967c7b..86720f8 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,7 @@ AC_SUBST(PDLIBDIR) AC_SUBST(INCLUDES) AC_SUBST(LIBNAME) AC_SUBST(CONFIGUREFLAGS) +AC_SUBST(BUILDLIBRARY) ## store the flags passed to us ## is there no way to get the flags without quotes? @@ -32,6 +33,12 @@ AC_ARG_WITH(pdversion, [ --with-pdversion=<ver> enforce a certain pd-version ( AC_ARG_WITH(extension, [ --with-extension=<ext> enforce a certain extension for the dynamic library (e.g. dll)]) AC_ARG_WITH(pdpath, [ --with-pd=</path/to/pd> where to look for pd-headers and and -libs]) AC_ARG_ENABLE(PIC, [ --disable-PIC disable compilation with PIC-flag]) +AC_ARG_ENABLE(library,[ --disable-library split the library into single externals]) + +if test "xno" != "x${enable_library}" ; then +dnl LATER: find a more generic way to generate the .._LIBRARY define + BUILDLIBRARY="-DBUILD_LIBRARY" +fi dnl Checks for libraries. dnl Replace `main' with a function in -lc: |