summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 231eefc)
raw | patch | inline | side by side (parent: 231eefc)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 14 Nov 2005 11:46:31 +0000 (11:46 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 14 Nov 2005 11:46:31 +0000 (11:46 +0000) |
program/configure.ac | patch | blob | history |
diff --git a/program/configure.ac b/program/configure.ac
index 268ae0d923e8d25f3944fa3a74bcaef05dc50fa7..de4cb5ec91aeb33da2f9ce852d2095f3c1a31f8c 100644 (file)
--- a/program/configure.ac
+++ b/program/configure.ac
@@ -227,7 +227,18 @@ AC_CHECK_FUNCS(tzset mbstowcs opendir readdir chdir chroot getuid setlocale stre
if test "x$enable_mmap" = xyes; then
- AC_FUNC_MMAP
+ case "$host" in
+ *cygwin*)
+ # the normal mmap test does not work in cygwin
+ AC_CHECK_FUNCS(mmap)
+ if [ ${ac_cv_func_mmap} = yes ]; then
+ ac_cv_func_mmap_fixed_mapped=yes
+ fi
+ ;;
+ *)
+ AC_FUNC_MMAP
+ ;;
+ esac
fi
CONFIGURE_PART(Apply Configuration Information)
-AC_CONFIG_FILES([examples/shared-demo.pl \
- examples/piped-demo.pl \
- examples/stripes.pl \
- examples/bigtops.pl \
- examples/minmax.pl \
- examples/cgi-demo.cgi \
- examples/4charts.pl \
- examples/Makefile \
- doc/Makefile \
- src/Makefile \
- bindings/Makefile \
- bindings/tcl/Makefile \
- bindings/tcl/ifOctets.tcl \
- bindings/python/Makefile \
+AC_CONFIG_FILES([examples/shared-demo.pl
+ examples/piped-demo.pl
+ examples/stripes.pl
+ examples/bigtops.pl
+ examples/minmax.pl
+ examples/cgi-demo.cgi
+ examples/4charts.pl
+ examples/Makefile
+ doc/Makefile
+ src/Makefile
+ bindings/Makefile
+ bindings/tcl/Makefile
+ bindings/tcl/ifOctets.tcl
+ bindings/python/Makefile
Makefile])
-AC_CONFIG_COMMANDS([default],[[\
- chmod +x examples/*.cgi examples/*.pl]],[[]])
+
+AC_CONFIG_COMMANDS([default],[[ chmod +x examples/*.cgi examples/*.pl]],[[]])
AC_OUTPUT
AC_MSG_CHECKING(in)