1# -*- Autoconf -*- 2# Process this file with autoconf to produce a configure script. 3 4AC_PREREQ(2.57) 5AC_INIT(vxquery, 0.2, nectar@celabo.org) 6AC_CONFIG_AUX_DIR(aux) 7 8# Checks for programs. 9AC_PROG_CC 10AC_PROG_CXX 11AC_PROG_INSTALL 12AC_PROG_LN_S 13 14# Checks for libraries. 15use_bsdxml=0 16AC_CHECK_LIB(bsdxml,XML_ExpatVersion, 17 use_bsdxml=1;LIBS="$LIBS -lbsdxml"; 18 AC_DEFINE(HAVE_BSDXML,1,[Define if we have expat disguised as bsdxml])) 19if test "$use_bsdxml" -eq 0; then 20AC_CHECK_LIB(expat,XML_ExpatVersion, LIBS="$LIBS -lexpat") 21fi 22 23# Checks for header files. 24 25# Checks for typedefs, structures, and compiler characteristics. 26 27# Checks for library functions. 28 29AC_CONFIG_HEADERS([include/vuxml/config.h]) 30AC_CONFIG_FILES([settings.sh]) 31AC_OUTPUT 32