aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-07-13 06:17:35 -0400
committerGlenn Morris2013-07-13 06:17:35 -0400
commit6ee585de08efb925150e105a517ec12e1cc9bdb2 (patch)
tree894098d8d29a393e4b3e41b903547d3a67ce5b21
parent69e0e5eef15e15ecbca594478a9fcf9c4bce5c8b (diff)
downloademacs-6ee585de08efb925150e105a517ec12e1cc9bdb2.tar.gz
emacs-6ee585de08efb925150e105a517ec12e1cc9bdb2.zip
Auto-commit of generated files.
-rwxr-xr-xautogen/configure82
1 files changed, 44 insertions, 38 deletions
diff --git a/autogen/configure b/autogen/configure
index faa09d0e9c3..50786ead7a5 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -4351,7 +4351,8 @@ if test "${with_file_notification+set}" = set; then :
4351 w | w3 | w32 ) val=w32 ;; 4351 w | w3 | w32 ) val=w32 ;;
4352 * ) as_fn_error "\`--with-file-notification=$withval' is invalid; 4352 * ) as_fn_error "\`--with-file-notification=$withval' is invalid;
4353this option's value should be \`yes', \`no', \`gfile', \`inotify' or \`w32'. 4353this option's value should be \`yes', \`no', \`gfile', \`inotify' or \`w32'.
4354\`yes' is a synonym for \`w32' on MS-Windows, and for \`gfile' otherwise." "$LINENO" 5 4354\`yes' is a synonym for \`w32' on MS-Windows, for \`no' on Nextstep,
4355otherwise for the first of \`gfile' or \`inotify' that is usable." "$LINENO" 5
4355 ;; 4356 ;;
4356 esac 4357 esac
4357 with_file_notification=$val 4358 with_file_notification=$val
@@ -12000,17 +12001,29 @@ fi
12000NOTIFY_OBJ= 12001NOTIFY_OBJ=
12001NOTIFY_SUMMARY=no 12002NOTIFY_SUMMARY=no
12002 12003
12003if test "${with_file_notification}" = "yes"; then 12004if test "${with_ns}" = yes && test ${with_file_notification} = yes; then
12004 if test "${opsys}" = "mingw32"; then 12005 with_file_notification=no
12005 with_file_notification=w32 12006fi
12006 else 12007
12007 if test "${with_ns}" != yes; then 12008case $with_file_notification,$opsys in
12008 with_file_notification=gfile 12009 w32,* | yes,mingw32)
12009 fi 12010 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
12010 fi 12011if test "x$ac_cv_header_windows_h" = x""yes; then :
12012
12011fi 12013fi
12012 12014
12013if test "${with_file_notification}" = "gfile"; then 12015
12016 if test "$ac_cv_header_windows_h" = yes ; then
12017
12018$as_echo "#define HAVE_W32NOTIFY 1" >>confdefs.h
12019
12020 NOTIFY_OBJ=w32notify.o
12021 NOTIFY_SUMMARY="yes (w32)"
12022 fi ;;
12023esac
12024
12025case $with_file_notification,$NOTIFY_OBJ in
12026 gfile, | yes,)
12014 12027
12015 succeeded=no 12028 succeeded=no
12016 12029
@@ -12062,51 +12075,44 @@ $as_echo "no" >&6; }
12062 HAVE_GFILENOTIFY=no 12075 HAVE_GFILENOTIFY=no
12063 fi 12076 fi
12064 12077
12065 if test "$HAVE_GFILENOTIFY" = "yes"; then 12078 if test "$HAVE_GFILENOTIFY" = "yes"; then
12066 12079
12067$as_echo "#define HAVE_GFILENOTIFY 1" >>confdefs.h 12080$as_echo "#define HAVE_GFILENOTIFY 1" >>confdefs.h
12068 12081
12069 NOTIFY_OBJ=gfilenotify.o 12082 NOTIFY_OBJ=gfilenotify.o
12070 NOTIFY_SUMMARY="yes -lgio (gfile)" 12083 NOTIFY_SUMMARY="yes -lgio (gfile)"
12071 fi 12084 fi ;;
12072fi 12085esac
12073if test "${with_file_notification}" = "inotify"; then 12086
12074 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" 12087case $with_file_notification,$NOTIFY_OBJ in
12088 inotify, | yes,)
12089 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
12075if test "x$ac_cv_header_sys_inotify_h" = x""yes; then : 12090if test "x$ac_cv_header_sys_inotify_h" = x""yes; then :
12076 12091
12077fi 12092fi
12078 12093
12079 12094
12080 if test "$ac_cv_header_sys_inotify_h" = yes ; then 12095 if test "$ac_cv_header_sys_inotify_h" = yes ; then
12081 ac_fn_c_check_func "$LINENO" "inotify_init1" "ac_cv_func_inotify_init1" 12096 ac_fn_c_check_func "$LINENO" "inotify_init1" "ac_cv_func_inotify_init1"
12082if test "x$ac_cv_func_inotify_init1" = x""yes; then : 12097if test "x$ac_cv_func_inotify_init1" = x""yes; then :
12083 12098
12084fi 12099fi
12085 12100
12086 if test "$ac_cv_func_inotify_init1" = yes; then 12101 if test "$ac_cv_func_inotify_init1" = yes; then
12087 12102
12088$as_echo "#define HAVE_INOTIFY 1" >>confdefs.h 12103$as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
12089 12104
12090 NOTIFY_OBJ=inotify.o 12105 NOTIFY_OBJ=inotify.o
12091 NOTIFY_SUMMARY="yes -lglibc (inotify)" 12106 NOTIFY_SUMMARY="yes -lglibc (inotify)"
12092 fi 12107 fi
12093 fi 12108 fi ;;
12094fi 12109esac
12095if test "${with_file_notification}" = "w32"; then
12096 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
12097if test "x$ac_cv_header_windows_h" = x""yes; then :
12098
12099fi
12100
12101
12102 if test "$ac_cv_header_windows_h" = yes ; then
12103 12110
12104$as_echo "#define HAVE_W32NOTIFY 1" >>confdefs.h 12111case $with_file_notification,$NOTIFY_OBJ in
12112 yes,* | no,* | *,?*) ;;
12113 *) as_fn_error "File notification \`$with_file_notification' requested but requirements not found." "$LINENO" 5 ;;
12114esac
12105 12115
12106 NOTIFY_OBJ=w32notify.o
12107 NOTIFY_SUMMARY="yes (w32)"
12108 fi
12109fi
12110if test -n "$NOTIFY_OBJ"; then 12116if test -n "$NOTIFY_OBJ"; then
12111 12117
12112$as_echo "#define USE_FILE_NOTIFY 1" >>confdefs.h 12118$as_echo "#define USE_FILE_NOTIFY 1" >>confdefs.h