diff options
| author | Glenn Morris | 2011-07-08 06:19:15 -0400 |
|---|---|---|
| committer | Glenn Morris | 2011-07-08 06:19:15 -0400 |
| commit | 2b7f7d9992e8b38f52e8159a77c3da4eaf743b95 (patch) | |
| tree | 8414af2822d574602ba65359acfe985b664d9dd4 | |
| parent | 4393663bc52fc24c15aa9c1779dfc23d3a0f901f (diff) | |
| download | emacs-2b7f7d9992e8b38f52e8159a77c3da4eaf743b95.tar.gz emacs-2b7f7d9992e8b38f52e8159a77c3da4eaf743b95.zip | |
Auto-commit of generated files.
| -rwxr-xr-x | autogen/configure | 84 |
1 files changed, 51 insertions, 33 deletions
diff --git a/autogen/configure b/autogen/configure index 7e45acbdb83..10bdf24c3a9 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -1932,8 +1932,8 @@ Optional Features: | |||
| 1932 | --disable-ns-self-contained | 1932 | --disable-ns-self-contained |
| 1933 | disable self contained build under NeXTstep | 1933 | disable self contained build under NeXTstep |
| 1934 | --enable-asserts compile code with asserts enabled | 1934 | --enable-asserts compile code with asserts enabled |
| 1935 | --enable-maintainer-mode | 1935 | --disable-maintainer-mode |
| 1936 | enable make rules and dependencies not useful (and | 1936 | disable make rules and dependencies not useful (and |
| 1937 | sometimes confusing) to the casual installer | 1937 | sometimes confusing) to the casual installer |
| 1938 | --enable-locallisppath=PATH | 1938 | --enable-locallisppath=PATH |
| 1939 | directories Emacs should search for lisp files | 1939 | directories Emacs should search for lisp files |
| @@ -14918,7 +14918,7 @@ int *p = &optreset; return optreset; | |||
| 14918 | return 0; | 14918 | return 0; |
| 14919 | } | 14919 | } |
| 14920 | _ACEOF | 14920 | _ACEOF |
| 14921 | if ac_fn_c_try_compile "$LINENO"; then : | 14921 | if ac_fn_c_try_link "$LINENO"; then : |
| 14922 | gl_optind_min=1 | 14922 | gl_optind_min=1 |
| 14923 | else | 14923 | else |
| 14924 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14924 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -14939,7 +14939,8 @@ else | |||
| 14939 | fi | 14939 | fi |
| 14940 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14940 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14941 | fi | 14941 | fi |
| 14942 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14942 | rm -f core conftest.err conftest.$ac_objext \ |
| 14943 | conftest$ac_exeext conftest.$ac_ext | ||
| 14943 | 14944 | ||
| 14944 | gl_save_CPPFLAGS=$CPPFLAGS | 14945 | gl_save_CPPFLAGS=$CPPFLAGS |
| 14945 | CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min" | 14946 | CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min" |
| @@ -14962,22 +14963,20 @@ int | |||
| 14962 | main () | 14963 | main () |
| 14963 | { | 14964 | { |
| 14964 | { | 14965 | { |
| 14965 | int argc = 0; | 14966 | static char program[] = "program"; |
| 14966 | char *argv[10]; | 14967 | static char a[] = "-a"; |
| 14968 | static char foo[] = "foo"; | ||
| 14969 | static char bar[] = "bar"; | ||
| 14970 | char *argv[] = { program, a, foo, bar, NULL }; | ||
| 14967 | int c; | 14971 | int c; |
| 14968 | 14972 | ||
| 14969 | argv[argc++] = "program"; | ||
| 14970 | argv[argc++] = "-a"; | ||
| 14971 | argv[argc++] = "foo"; | ||
| 14972 | argv[argc++] = "bar"; | ||
| 14973 | argv[argc] = NULL; | ||
| 14974 | optind = OPTIND_MIN; | 14973 | optind = OPTIND_MIN; |
| 14975 | opterr = 0; | 14974 | opterr = 0; |
| 14976 | 14975 | ||
| 14977 | c = getopt (argc, argv, "ab"); | 14976 | c = getopt (4, argv, "ab"); |
| 14978 | if (!(c == 'a')) | 14977 | if (!(c == 'a')) |
| 14979 | return 1; | 14978 | return 1; |
| 14980 | c = getopt (argc, argv, "ab"); | 14979 | c = getopt (4, argv, "ab"); |
| 14981 | if (!(c == -1)) | 14980 | if (!(c == -1)) |
| 14982 | return 2; | 14981 | return 2; |
| 14983 | if (!(optind == 2)) | 14982 | if (!(optind == 2)) |
| @@ -14985,22 +14984,20 @@ main () | |||
| 14985 | } | 14984 | } |
| 14986 | /* Some internal state exists at this point. */ | 14985 | /* Some internal state exists at this point. */ |
| 14987 | { | 14986 | { |
| 14988 | int argc = 0; | 14987 | static char program[] = "program"; |
| 14989 | char *argv[10]; | 14988 | static char donald[] = "donald"; |
| 14989 | static char p[] = "-p"; | ||
| 14990 | static char billy[] = "billy"; | ||
| 14991 | static char duck[] = "duck"; | ||
| 14992 | static char a[] = "-a"; | ||
| 14993 | static char bar[] = "bar"; | ||
| 14994 | char *argv[] = { program, donald, p, billy, duck, a, bar, NULL }; | ||
| 14990 | int c; | 14995 | int c; |
| 14991 | 14996 | ||
| 14992 | argv[argc++] = "program"; | ||
| 14993 | argv[argc++] = "donald"; | ||
| 14994 | argv[argc++] = "-p"; | ||
| 14995 | argv[argc++] = "billy"; | ||
| 14996 | argv[argc++] = "duck"; | ||
| 14997 | argv[argc++] = "-a"; | ||
| 14998 | argv[argc++] = "bar"; | ||
| 14999 | argv[argc] = NULL; | ||
| 15000 | optind = OPTIND_MIN; | 14997 | optind = OPTIND_MIN; |
| 15001 | opterr = 0; | 14998 | opterr = 0; |
| 15002 | 14999 | ||
| 15003 | c = getopt (argc, argv, "+abp:q:"); | 15000 | c = getopt (7, argv, "+abp:q:"); |
| 15004 | if (!(c == -1)) | 15001 | if (!(c == -1)) |
| 15005 | return 4; | 15002 | return 4; |
| 15006 | if (!(strcmp (argv[0], "program") == 0)) | 15003 | if (!(strcmp (argv[0], "program") == 0)) |
| @@ -15022,7 +15019,9 @@ main () | |||
| 15022 | } | 15019 | } |
| 15023 | /* Detect MacOS 10.5, AIX 7.1 bug. */ | 15020 | /* Detect MacOS 10.5, AIX 7.1 bug. */ |
| 15024 | { | 15021 | { |
| 15025 | char *argv[3] = { "program", "-ab", NULL }; | 15022 | static char program[] = "program"; |
| 15023 | static char ab[] = "-ab"; | ||
| 15024 | char *argv[3] = { program, ab, NULL }; | ||
| 15026 | optind = OPTIND_MIN; | 15025 | optind = OPTIND_MIN; |
| 15027 | opterr = 0; | 15026 | opterr = 0; |
| 15028 | if (getopt (2, argv, "ab:") != 'a') | 15027 | if (getopt (2, argv, "ab:") != 'a') |
| @@ -15101,19 +15100,22 @@ main () | |||
| 15101 | and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, | 15100 | and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, |
| 15102 | OSF/1 5.1, Solaris 10. */ | 15101 | OSF/1 5.1, Solaris 10. */ |
| 15103 | { | 15102 | { |
| 15104 | char *myargv[3]; | 15103 | static char conftest[] = "conftest"; |
| 15105 | myargv[0] = "conftest"; | 15104 | static char plus[] = "-+"; |
| 15106 | myargv[1] = "-+"; | 15105 | char *argv[3] = { conftest, plus, NULL }; |
| 15107 | myargv[2] = 0; | ||
| 15108 | opterr = 0; | 15106 | opterr = 0; |
| 15109 | if (getopt (2, myargv, "+a") != '?') | 15107 | if (getopt (2, argv, "+a") != '?') |
| 15110 | result |= 1; | 15108 | result |= 1; |
| 15111 | } | 15109 | } |
| 15112 | /* This code succeeds on glibc 2.8, mingw, | 15110 | /* This code succeeds on glibc 2.8, mingw, |
| 15113 | and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, | 15111 | and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, |
| 15114 | IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ | 15112 | IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ |
| 15115 | { | 15113 | { |
| 15116 | char *argv[] = { "program", "-p", "foo", "bar", NULL }; | 15114 | static char program[] = "program"; |
| 15115 | static char p[] = "-p"; | ||
| 15116 | static char foo[] = "foo"; | ||
| 15117 | static char bar[] = "bar"; | ||
| 15118 | char *argv[] = { program, p, foo, bar, NULL }; | ||
| 15117 | 15119 | ||
| 15118 | optind = 1; | 15120 | optind = 1; |
| 15119 | if (getopt (4, argv, "p::") != 'p') | 15121 | if (getopt (4, argv, "p::") != 'p') |
| @@ -15127,7 +15129,10 @@ main () | |||
| 15127 | } | 15129 | } |
| 15128 | /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ | 15130 | /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ |
| 15129 | { | 15131 | { |
| 15130 | char *argv[] = { "program", "foo", "-p", NULL }; | 15132 | static char program[] = "program"; |
| 15133 | static char foo[] = "foo"; | ||
| 15134 | static char p[] = "-p"; | ||
| 15135 | char *argv[] = { program, foo, p, NULL }; | ||
| 15131 | optind = 0; | 15136 | optind = 0; |
| 15132 | if (getopt (3, argv, "-p") != 1) | 15137 | if (getopt (3, argv, "-p") != 1) |
| 15133 | result |= 16; | 15138 | result |= 16; |
| @@ -15136,13 +15141,26 @@ main () | |||
| 15136 | } | 15141 | } |
| 15137 | /* This code fails on glibc 2.11. */ | 15142 | /* This code fails on glibc 2.11. */ |
| 15138 | { | 15143 | { |
| 15139 | char *argv[] = { "program", "-b", "-a", NULL }; | 15144 | static char program[] = "program"; |
| 15145 | static char b[] = "-b"; | ||
| 15146 | static char a[] = "-a"; | ||
| 15147 | char *argv[] = { program, b, a, NULL }; | ||
| 15140 | optind = opterr = 0; | 15148 | optind = opterr = 0; |
| 15141 | if (getopt (3, argv, "+:a:b") != 'b') | 15149 | if (getopt (3, argv, "+:a:b") != 'b') |
| 15142 | result |= 64; | 15150 | result |= 64; |
| 15143 | else if (getopt (3, argv, "+:a:b") != ':') | 15151 | else if (getopt (3, argv, "+:a:b") != ':') |
| 15144 | result |= 64; | 15152 | result |= 64; |
| 15145 | } | 15153 | } |
| 15154 | /* This code dumps core on glibc 2.14. */ | ||
| 15155 | { | ||
| 15156 | static char program[] = "program"; | ||
| 15157 | static char w[] = "-W"; | ||
| 15158 | static char dummy[] = "dummy"; | ||
| 15159 | char *argv[] = { program, w, dummy, NULL }; | ||
| 15160 | optind = opterr = 1; | ||
| 15161 | if (getopt (3, argv, "W;") != 'W') | ||
| 15162 | result |= 128; | ||
| 15163 | } | ||
| 15146 | return result; | 15164 | return result; |
| 15147 | 15165 | ||
| 15148 | ; | 15166 | ; |