# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) AC_INIT(vxquery, 0.2, nectar@celabo.org) AC_CONFIG_AUX_DIR(aux) # Checks for programs. AC_PROG_CC AC_PROG_CXX AC_PROG_INSTALL AC_PROG_LN_S # Checks for libraries. use_bsdxml=0 AC_CHECK_LIB(bsdxml,XML_ExpatVersion, use_bsdxml=1;LIBS="$LIBS -lbsdxml"; AC_DEFINE(HAVE_BSDXML,1,[Define if we have expat disguised as bsdxml])) if test "$use_bsdxml" -eq 0; then AC_CHECK_LIB(expat,XML_ExpatVersion, LIBS="$LIBS -lexpat") fi # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. AC_CONFIG_HEADERS([include/vuxml/config.h]) AC_CONFIG_FILES([settings.sh]) AC_OUTPUT