IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 5, 2006, 5:31:39 PM (20 years ago)
Author:
jhoblitt
Message:

make sure psLib has HAVE_PSDB defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/configure.ac

    r10402 r10488  
    1717PKG_CHECK_MODULES([PSMODULES], [psmodules >= 0.12.0])
    1818PKG_CHECK_MODULES([IPPDB], [ippdb >= 0.0.61])
     19
     20dnl check for PSDB support
     21TMP_CFLAGS=${CFLAGS}
     22CFLAGS=${PSLIB_CFLAGS}
     23
     24AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
     25    [[#if !defined HAVE_PSDB
     26      error: PSDB support is not avaiable
     27      #endif
     28    ]])],
     29  [],
     30  [AC_MSG_ERROR([psLib was built without PSDB support, bailing out.])]
     31)
     32
     33CFLAGS=${TMP_CFLAGS}
    1934
    2035AC_PROG_PERL_MODULES(
Note: See TracChangeset for help on using the changeset viewer.