From: oetiker Date: Mon, 14 Nov 2005 23:07:30 +0000 (+0000) Subject: make mmap test a little saver X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=cf7270234325c623c6d6a88e6ba7e673a9a50333;hp=d3f1c3f15c375a72bb4fe4694cc651e40d8803a1 make mmap test a little saver git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@717 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/configure.ac b/configure.ac index de4cb5e..8f163d3 100644 --- a/configure.ac +++ b/configure.ac @@ -231,7 +231,7 @@ if test "x$enable_mmap" = xyes; then *cygwin*) # the normal mmap test does not work in cygwin AC_CHECK_FUNCS(mmap) - if [ ${ac_cv_func_mmap} = yes ]; then + if [ "x${ac_cv_func_mmap}" = xyes ]; then ac_cv_func_mmap_fixed_mapped=yes fi ;; @@ -539,20 +539,20 @@ 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 + 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]) + Makefile]) AC_CONFIG_COMMANDS([default],[[ chmod +x examples/*.cgi examples/*.pl]],[[]]) AC_OUTPUT