1 dnl Process this file with autoconf to produce a configure script.
3 dnl TODO FS Document this.
4 dnl TODO FS Figure out how this really works.
6 AC_INIT(robodoc, 4.99.36)
7 AC_CONFIG_SRCDIR(Source/robodoc.h)
8 AC_DEFINE_UNQUOTED([ROBO_PREFIX],"$prefix", [default location for robodoc.rc])
10 AM_CONFIG_HEADER(Source/config.h)
11 AM_INIT_AUTOMAKE(robodoc, 4.99.36)
15 dnl Checks for programs.
18 dnl Do a cross compile under cygwin
19 if test "`uname -o 2>/dev/null`" = Cygwin; then
20 CFLAGS="$CFLAGS -mno-cygwin";
23 dnl Checks for libraries.
25 dnl Checks for header files.
37 AM_CONDITIONAL([FINK], [test "x$OSTYPE" = "xDARWIN"])
39 dnl Add DARWIN flag for Mac OS X
40 if test "x$OSTYPE" = "xDARWIN";then
41 CFLAGS="$CFLAGS -DDARWIN"
45 dnl The value of --prefix is used in the sources
46 dnl so make a define for it.
50 dnl Checks for typedefs, structures, and compiler characteristics.
54 dnl Checks for library functions.
58 AC_CHECK_FUNCS(strstr)
60 AC_CONFIG_FILES([makefile Docs/makefile Docs/robodoc.1 Source/makefile])