3 # Check for one project file
5 AC_INIT(src/dl_dxf.cpp)
10 # check cannonical system name
14 *-linux-gnu ) AC_DEFINE(LINUX) ;;
15 *-aix* ) AC_DEFINE(AIX) ;;
16 * ) AC_DEFINE(UNIX) ;;
20 # check C compiler, preprocesor, etc.
25 AC_CHECK_PROG(FIND, find, find, :)
26 AC_CHECK_PROG(MAKEDEPEND, makedepend, makedepend, :)
29 # Try to locate the X Window System include files and libraries
30 # and add /usr/local to include and lib path and add -lm (for testing)
33 CFLAGS="$CFLAGS $X_CFLAGS"
34 LDFLAGS="$LDFLAGS $X_LIBS -L/usr/local/lib"
38 # Declare variables which we want substituted in the Makefile.in's
43 AC_CHECK_HEADERS(limits.h)
47 # finally create makefiles using Makefile.in
50 AC_OUTPUT(Makefile test/Makefile)
53 echo "Run 'make depend' to create dependencies."