aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-06-24 06:17:34 -0400
committerGlenn Morris2012-06-24 06:17:34 -0400
commit0eb4e0df7aeb678467245ef9161a24016dc447c7 (patch)
tree405ee3ea04df0eda1c6c18bef2195de8a289c907
parentdd1ff7c09a9a1392e66156da667112cc1afadcee (diff)
downloademacs-0eb4e0df7aeb678467245ef9161a24016dc447c7.tar.gz
emacs-0eb4e0df7aeb678467245ef9161a24016dc447c7.zip
Auto-commit of generated files.
-rwxr-xr-xautogen/configure63
1 files changed, 63 insertions, 0 deletions
diff --git a/autogen/configure b/autogen/configure
index da1be7ec363..321e9d5ca54 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -9695,6 +9695,69 @@ fi
9695$as_echo "$gl_cv_func_getopt_gnu" >&6; } 9695$as_echo "$gl_cv_func_getopt_gnu" >&6; }
9696 if test "$gl_cv_func_getopt_gnu" = "no"; then 9696 if test "$gl_cv_func_getopt_gnu" = "no"; then
9697 gl_replace_getopt=yes 9697 gl_replace_getopt=yes
9698 else
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt_long function" >&5
9700$as_echo_n "checking for working GNU getopt_long function... " >&6; }
9701if test "${gl_cv_func_getopt_long_gnu+set}" = set; then :
9702 $as_echo_n "(cached) " >&6
9703else
9704 if test "$cross_compiling" = yes; then :
9705 case "$host_os" in
9706 openbsd*) gl_cv_func_getopt_long_gnu="guessing no";;
9707 *) gl_cv_func_getopt_long_gnu="guessing yes";;
9708 esac
9709
9710else
9711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9712/* end confdefs.h. */
9713#include <getopt.h>
9714 #include <stddef.h>
9715 #include <string.h>
9716
9717int
9718main ()
9719{
9720static const struct option long_options[] =
9721 {
9722 { "xtremely-",no_argument, NULL, 1003 },
9723 { "xtra", no_argument, NULL, 1001 },
9724 { "xtreme", no_argument, NULL, 1002 },
9725 { "xtremely", no_argument, NULL, 1003 },
9726 { NULL, 0, NULL, 0 }
9727 };
9728 /* This code fails on OpenBSD 5.0. */
9729 {
9730 static char program[] = "program";
9731 static char xtremel[] = "--xtremel";
9732 char *argv[] = { program, xtremel, NULL };
9733 int option_index;
9734 optind = 1; opterr = 0;
9735 if (getopt_long (2, argv, "", long_options, &option_index) != 1003)
9736 return 1;
9737 }
9738 return 0;
9739
9740 ;
9741 return 0;
9742}
9743_ACEOF
9744if ac_fn_c_try_run "$LINENO"; then :
9745 gl_cv_func_getopt_long_gnu=yes
9746else
9747 gl_cv_func_getopt_long_gnu=no
9748fi
9749rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9750 conftest.$ac_objext conftest.beam conftest.$ac_ext
9751fi
9752
9753
9754fi
9755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_long_gnu" >&5
9756$as_echo "$gl_cv_func_getopt_long_gnu" >&6; }
9757 case "$gl_cv_func_getopt_long_gnu" in
9758 *yes) ;;
9759 *) gl_replace_getopt=yes ;;
9760 esac
9698 fi 9761 fi
9699 fi 9762 fi
9700 9763