dnl Written by Antoby - antoby@mail.com dnl First check for right directory AC_INIT(src/cbedic.cpp) dnl Checks for some stuff AC_CANONICAL_SYSTEM AC_ARG_PROGRAM dnl Make program AM_INIT_AUTOMAKE(CBEdic, 1.2) dnl Checks for programs AC_PROG_CC AC_PROG_CPP AC_PROG_CXX AC_PROG_MAKE_SET AC_PROG_INSTALL dnl Enable debug information AC_ENABLE_DEBUG dnl Checks for header files AC_HEADER_STDC dnl get data dir AC_GET_DATA_DIR dnl Output files AC_OUTPUT(Makefile src/Makefile src/config.h data/Makefile) echo "" echo "Data directory: $DATA_DIR" echo "" echo "1. make (or gmake) builds the program (you need GNU make)" echo "2. make install installs the program and data" echo "3. cbedic -h see how to use the program" echo "4. make uninstall removes the program (You don't want to do that :))" echo "" echo "For 'make install/uninstall' you must be root (su)" echo ""