IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14443


Ignore:
Timestamp:
Aug 8, 2007, 11:53:17 AM (19 years ago)
Author:
jhoblitt
Message:

add a probe to make sure pslib was built with psdb support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/configure_ac.tt

    r14412 r14443  
    2424
    2525PKG_CHECK_MODULES([PSLIB], [pslib >= 0.9.0])
     26 
     27dnl check to make sure that pslib declares HAVE_PSDB
     28TMP_CFLAGS=${CFLAGS}
     29CFLAGS="${CFLAGS=} ${PSLIB_CFLAGS}"
     30
     31AC_MSG_CHECKING([pslib's psDB support])
     32AC_RUN_IFELSE(
     33  [AC_LANG_PROGRAM([], [dnl
     34#ifndef HAVE_PSDB
     35    return 1;
     36#endif])],
     37  [AC_MSG_RESULT([yes])],
     38  [AC_MSG_FAILURE([pslib was built without psDB support (HAVE_PSDB)])])
     39
     40CFLAGS=${TMP_CFLAGS}
     41
    2642
    2743AC_PATH_PROG([PERL], [perl], [missing])
Note: See TracChangeset for help on using the changeset viewer.