metasploit_payloads-mettle 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/build/aarch64-iphone-darwin/bin/mettle +0 -0
  5. data/build/aarch64-linux-musl/bin/mettle +0 -0
  6. data/build/aarch64-linux-musl/bin/mettle.bin +0 -0
  7. data/build/aarch64-linux-musl/bin/sniffer +0 -0
  8. data/build/aarch64-linux-musl/bin/sniffer.bin +0 -0
  9. data/build/arm-iphone-darwin/bin/mettle +0 -0
  10. data/build/armv5b-linux-musleabi/bin/mettle +0 -0
  11. data/build/armv5b-linux-musleabi/bin/mettle.bin +0 -0
  12. data/build/armv5b-linux-musleabi/bin/sniffer +0 -0
  13. data/build/armv5b-linux-musleabi/bin/sniffer.bin +0 -0
  14. data/build/armv5l-linux-musleabi/bin/mettle +0 -0
  15. data/build/armv5l-linux-musleabi/bin/mettle.bin +0 -0
  16. data/build/armv5l-linux-musleabi/bin/sniffer +0 -0
  17. data/build/armv5l-linux-musleabi/bin/sniffer.bin +0 -0
  18. data/build/darwin.x86_64/bin/mettle +0 -0
  19. data/build/i486-linux-musl/bin/mettle +0 -0
  20. data/build/i486-linux-musl/bin/mettle.bin +0 -0
  21. data/build/i486-linux-musl/bin/sniffer +0 -0
  22. data/build/i486-linux-musl/bin/sniffer.bin +0 -0
  23. data/build/i686-w64-mingw32/bin/mettle.exe +0 -0
  24. data/build/mips-linux-muslsf/bin/mettle +0 -0
  25. data/build/mips-linux-muslsf/bin/mettle.bin +0 -0
  26. data/build/mips-linux-muslsf/bin/sniffer +0 -0
  27. data/build/mips-linux-muslsf/bin/sniffer.bin +0 -0
  28. data/build/mips64-linux-muslsf/bin/mettle +0 -0
  29. data/build/mips64-linux-muslsf/bin/mettle.bin +0 -0
  30. data/build/mips64-linux-muslsf/bin/sniffer +0 -0
  31. data/build/mips64-linux-muslsf/bin/sniffer.bin +0 -0
  32. data/build/mipsel-linux-muslsf/bin/mettle +0 -0
  33. data/build/mipsel-linux-muslsf/bin/mettle.bin +0 -0
  34. data/build/mipsel-linux-muslsf/bin/sniffer +0 -0
  35. data/build/mipsel-linux-muslsf/bin/sniffer.bin +0 -0
  36. data/build/powerpc-e500v2-linux-musl/bin/mettle +0 -0
  37. data/build/powerpc-e500v2-linux-musl/bin/mettle.bin +0 -0
  38. data/build/powerpc-e500v2-linux-musl/bin/sniffer +0 -0
  39. data/build/powerpc-e500v2-linux-musl/bin/sniffer.bin +0 -0
  40. data/build/powerpc-linux-muslsf/bin/mettle +0 -0
  41. data/build/powerpc-linux-muslsf/bin/mettle.bin +0 -0
  42. data/build/powerpc-linux-muslsf/bin/sniffer +0 -0
  43. data/build/powerpc-linux-muslsf/bin/sniffer.bin +0 -0
  44. data/build/powerpc64le-linux-musl/bin/mettle +0 -0
  45. data/build/powerpc64le-linux-musl/bin/mettle.bin +0 -0
  46. data/build/powerpc64le-linux-musl/bin/sniffer +0 -0
  47. data/build/powerpc64le-linux-musl/bin/sniffer.bin +0 -0
  48. data/build/s390x-linux-musl/bin/mettle +0 -0
  49. data/build/s390x-linux-musl/bin/mettle.bin +0 -0
  50. data/build/s390x-linux-musl/bin/sniffer +0 -0
  51. data/build/s390x-linux-musl/bin/sniffer.bin +0 -0
  52. data/build/tools/bin/aclocal +1225 -0
  53. data/build/tools/bin/aclocal-1.16 +1225 -0
  54. data/build/tools/bin/autoconf +505 -0
  55. data/build/tools/bin/autoheader +303 -0
  56. data/build/tools/bin/autom4te +1074 -0
  57. data/build/tools/bin/automake +8378 -0
  58. data/build/tools/bin/automake-1.16 +8378 -0
  59. data/build/tools/bin/autoreconf +717 -0
  60. data/build/tools/bin/autoscan +678 -0
  61. data/build/tools/bin/autoupdate +1063 -0
  62. data/build/tools/bin/bison +0 -0
  63. data/build/tools/bin/elf2bin +0 -0
  64. data/build/tools/bin/flex +0 -0
  65. data/build/tools/bin/flex++ +1 -0
  66. data/build/tools/bin/ifnames +153 -0
  67. data/build/tools/bin/libtool +12556 -0
  68. data/build/tools/bin/libtoolize +4332 -0
  69. data/build/tools/bin/yacc +2 -0
  70. data/build/x86_64-apple-darwin/bin/mettle +0 -0
  71. data/build/x86_64-linux-musl/bin/mettle +0 -0
  72. data/build/x86_64-linux-musl/bin/mettle.bin +0 -0
  73. data/build/x86_64-linux-musl/bin/sniffer +0 -0
  74. data/build/x86_64-linux-musl/bin/sniffer.bin +0 -0
  75. data/lib/metasploit_payloads/mettle/version.rb +1 -1
  76. metadata +25 -7
  77. metadata.gz.sig +0 -0
@@ -0,0 +1,505 @@
1
+ #! /bin/sh
2
+ # Generated from autoconf.as by GNU Autoconf 2.69.
3
+ # Generated from autoconf.in; do not edit by hand.
4
+ # autoconf -- create `configure' using m4 macros
5
+
6
+ # Copyright (C) 1992-1994, 1996, 1999-2012 Free Software Foundation,
7
+ # Inc.
8
+
9
+ # This program is free software: you can redistribute it and/or modify
10
+ # it under the terms of the GNU General Public License as published by
11
+ # the Free Software Foundation, either version 3 of the License, or
12
+ # (at your option) any later version.
13
+
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+
22
+ ## -------------------- ##
23
+ ## M4sh Initialization. ##
24
+ ## -------------------- ##
25
+
26
+ # Be more Bourne compatible
27
+ DUALCASE=1; export DUALCASE # for MKS sh
28
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
29
+ emulate sh
30
+ NULLCMD=:
31
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
32
+ # is contrary to our usage. Disable this feature.
33
+ alias -g '${1+"$@"}'='"$@"'
34
+ setopt NO_GLOB_SUBST
35
+ else
36
+ case `(set -o) 2>/dev/null` in #(
37
+ *posix*) :
38
+ set -o posix ;; #(
39
+ *) :
40
+ ;;
41
+ esac
42
+ fi
43
+
44
+
45
+ as_nl='
46
+ '
47
+ export as_nl
48
+ # Printing a long string crashes Solaris 7 /usr/bin/printf.
49
+ as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
50
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
51
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
52
+ # Prefer a ksh shell builtin over an external printf program on Solaris,
53
+ # but without wasting forks for bash or zsh.
54
+ if test -z "$BASH_VERSION$ZSH_VERSION" \
55
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
56
+ as_echo='print -r --'
57
+ as_echo_n='print -rn --'
58
+ elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59
+ as_echo='printf %s\n'
60
+ as_echo_n='printf %s'
61
+ else
62
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
63
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
64
+ as_echo_n='/usr/ucb/echo -n'
65
+ else
66
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
67
+ as_echo_n_body='eval
68
+ arg=$1;
69
+ case $arg in #(
70
+ *"$as_nl"*)
71
+ expr "X$arg" : "X\\(.*\\)$as_nl";
72
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73
+ esac;
74
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
75
+ '
76
+ export as_echo_n_body
77
+ as_echo_n='sh -c $as_echo_n_body as_echo'
78
+ fi
79
+ export as_echo_body
80
+ as_echo='sh -c $as_echo_body as_echo'
81
+ fi
82
+
83
+ # The user is always right.
84
+ if test "${PATH_SEPARATOR+set}" != set; then
85
+ PATH_SEPARATOR=:
86
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
87
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88
+ PATH_SEPARATOR=';'
89
+ }
90
+ fi
91
+
92
+
93
+ # IFS
94
+ # We need space, tab and new line, in precisely that order. Quoting is
95
+ # there to prevent editors from complaining about space-tab.
96
+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word
97
+ # splitting by setting IFS to empty value.)
98
+ IFS=" "" $as_nl"
99
+
100
+ # Find who we are. Look in the path if we contain no directory separator.
101
+ as_myself=
102
+ case $0 in #((
103
+ *[\\/]* ) as_myself=$0 ;;
104
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105
+ for as_dir in $PATH
106
+ do
107
+ IFS=$as_save_IFS
108
+ test -z "$as_dir" && as_dir=.
109
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110
+ done
111
+ IFS=$as_save_IFS
112
+
113
+ ;;
114
+ esac
115
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
116
+ # in which case we are not to be found in the path.
117
+ if test "x$as_myself" = x; then
118
+ as_myself=$0
119
+ fi
120
+ if test ! -f "$as_myself"; then
121
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
122
+ exit 1
123
+ fi
124
+
125
+ # Unset variables that we do not need and which cause bugs (e.g. in
126
+ # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
127
+ # suppresses any "Segmentation fault" message there. '((' could
128
+ # trigger a bug in pdksh 5.2.14.
129
+ for as_var in BASH_ENV ENV MAIL MAILPATH
130
+ do eval test x\${$as_var+set} = xset \
131
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132
+ done
133
+ PS1='$ '
134
+ PS2='> '
135
+ PS4='+ '
136
+
137
+ # NLS nuisances.
138
+ LC_ALL=C
139
+ export LC_ALL
140
+ LANGUAGE=C
141
+ export LANGUAGE
142
+
143
+ # CDPATH.
144
+ (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
145
+
146
+ if test "x$CONFIG_SHELL" = x; then
147
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
148
+ emulate sh
149
+ NULLCMD=:
150
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
151
+ # is contrary to our usage. Disable this feature.
152
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
153
+ setopt NO_GLOB_SUBST
154
+ else
155
+ case \`(set -o) 2>/dev/null\` in #(
156
+ *posix*) :
157
+ set -o posix ;; #(
158
+ *) :
159
+ ;;
160
+ esac
161
+ fi
162
+ "
163
+ as_required="as_fn_return () { (exit \$1); }
164
+ as_fn_success () { as_fn_return 0; }
165
+ as_fn_failure () { as_fn_return 1; }
166
+ as_fn_ret_success () { return 0; }
167
+ as_fn_ret_failure () { return 1; }
168
+
169
+ exitcode=0
170
+ as_fn_success || { exitcode=1; echo as_fn_success failed.; }
171
+ as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
172
+ as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
173
+ as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
174
+ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
175
+
176
+ else
177
+ exitcode=1; echo positional parameters were not saved.
178
+ fi
179
+ test x\$exitcode = x0 || exit 1
180
+ test -x / || exit 1"
181
+ as_suggested=""
182
+ if (eval "$as_required") 2>/dev/null; then :
183
+ as_have_required=yes
184
+ else
185
+ as_have_required=no
186
+ fi
187
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188
+
189
+ else
190
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191
+ as_found=false
192
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193
+ do
194
+ IFS=$as_save_IFS
195
+ test -z "$as_dir" && as_dir=.
196
+ as_found=:
197
+ case $as_dir in #(
198
+ /*)
199
+ for as_base in sh bash ksh sh5; do
200
+ # Try only shells that exist, to save several forks.
201
+ as_shell=$as_dir/$as_base
202
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
203
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
204
+ CONFIG_SHELL=$as_shell as_have_required=yes
205
+ break 2
206
+ fi
207
+ done;;
208
+ esac
209
+ as_found=false
210
+ done
211
+ $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
212
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
213
+ CONFIG_SHELL=$SHELL as_have_required=yes
214
+ fi; }
215
+ IFS=$as_save_IFS
216
+
217
+
218
+ if test "x$CONFIG_SHELL" != x; then :
219
+ export CONFIG_SHELL
220
+ # We cannot yet assume a decent shell, so we have to provide a
221
+ # neutralization value for shells without unset; and this also
222
+ # works around shells that cannot unset nonexistent variables.
223
+ # Preserve -v and -x to the replacement shell.
224
+ BASH_ENV=/dev/null
225
+ ENV=/dev/null
226
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227
+ case $- in # ((((
228
+ *v*x* | *x*v* ) as_opts=-vx ;;
229
+ *v* ) as_opts=-v ;;
230
+ *x* ) as_opts=-x ;;
231
+ * ) as_opts= ;;
232
+ esac
233
+ exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
234
+ # Admittedly, this is quite paranoid, since all the known shells bail
235
+ # out after a failed `exec'.
236
+ $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
237
+ exit 255
238
+ fi
239
+
240
+ if test x$as_have_required = xno; then :
241
+ $as_echo "$0: This script requires a shell more modern than all"
242
+ $as_echo "$0: the shells that I found on your system."
243
+ if test x${ZSH_VERSION+set} = xset ; then
244
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246
+ else
247
+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248
+ $0: including any error possibly output before this
249
+ $0: message. Then install a modern shell, or manually run
250
+ $0: the script under such a shell if you do have one."
251
+ fi
252
+ exit 1
253
+ fi
254
+ fi
255
+ fi
256
+ SHELL=${CONFIG_SHELL-/bin/sh}
257
+ export SHELL
258
+ # Unset more variables known to interfere with behavior of common tools.
259
+ CLICOLOR_FORCE= GREP_OPTIONS=
260
+ unset CLICOLOR_FORCE GREP_OPTIONS
261
+
262
+ ## --------------------- ##
263
+ ## M4sh Shell Functions. ##
264
+ ## --------------------- ##
265
+ # as_fn_unset VAR
266
+ # ---------------
267
+ # Portably unset VAR.
268
+ as_fn_unset ()
269
+ {
270
+ { eval $1=; unset $1;}
271
+ }
272
+ as_unset=as_fn_unset
273
+
274
+ # as_fn_set_status STATUS
275
+ # -----------------------
276
+ # Set $? to STATUS, without forking.
277
+ as_fn_set_status ()
278
+ {
279
+ return $1
280
+ } # as_fn_set_status
281
+
282
+ # as_fn_exit STATUS
283
+ # -----------------
284
+ # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285
+ as_fn_exit ()
286
+ {
287
+ set +e
288
+ as_fn_set_status $1
289
+ exit $1
290
+ } # as_fn_exit
291
+
292
+
293
+ # as_fn_error STATUS ERROR
294
+ # ------------------------
295
+ # Output "`basename $0`: error: ERROR" to stderr. Then exit the script with
296
+ # STATUS, using 1 if that was 0.
297
+ as_fn_error ()
298
+ {
299
+ as_status=$1; test $as_status -eq 0 && as_status=1
300
+ $as_echo "$as_me: error: $2" >&2
301
+ as_fn_exit $as_status
302
+ } # as_fn_error
303
+
304
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
305
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
306
+ as_expr=expr
307
+ else
308
+ as_expr=false
309
+ fi
310
+
311
+ if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
312
+ as_basename=basename
313
+ else
314
+ as_basename=false
315
+ fi
316
+
317
+ as_me=`$as_basename -- "$0" ||
318
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
319
+ X"$0" : 'X\(//\)$' \| \
320
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
321
+ $as_echo X/"$0" |
322
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
323
+ s//\1/
324
+ q
325
+ }
326
+ /^X\/\(\/\/\)$/{
327
+ s//\1/
328
+ q
329
+ }
330
+ /^X\/\(\/\).*/{
331
+ s//\1/
332
+ q
333
+ }
334
+ s/.*/./; q'`
335
+
336
+ ## -------------------- ##
337
+ ## Main body of script. ##
338
+ ## -------------------- ##
339
+
340
+ usage="\
341
+ Usage: $0 [OPTION]... [TEMPLATE-FILE]
342
+
343
+ Generate a configuration script from a TEMPLATE-FILE if given, or
344
+ \`configure.ac' if present, or else \`configure.in'. Output is sent
345
+ to the standard output if TEMPLATE-FILE is given, else into
346
+ \`configure'.
347
+
348
+ Operation modes:
349
+ -h, --help print this help, then exit
350
+ -V, --version print version number, then exit
351
+ -v, --verbose verbosely report processing
352
+ -d, --debug don't remove temporary files
353
+ -f, --force consider all files obsolete
354
+ -o, --output=FILE save output in FILE (stdout is the default)
355
+ -W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
356
+
357
+ Warning categories include:
358
+ \`cross' cross compilation issues
359
+ \`obsolete' obsolete constructs
360
+ \`syntax' dubious syntactic constructs
361
+ \`all' all the warnings
362
+ \`no-CATEGORY' turn off the warnings on CATEGORY
363
+ \`none' turn off all the warnings
364
+ \`error' warnings are error
365
+
366
+ The environment variables \`M4' and \`WARNINGS' are honored.
367
+
368
+ Library directories:
369
+ -B, --prepend-include=DIR prepend directory DIR to search path
370
+ -I, --include=DIR append directory DIR to search path
371
+
372
+ Tracing:
373
+ -t, --trace=MACRO[:FORMAT] report the list of calls to MACRO
374
+ -i, --initialization also trace Autoconf's initialization process
375
+
376
+ In tracing mode, no configuration script is created. FORMAT defaults
377
+ to \`\$f:\$l:\$n:\$%'; see \`autom4te --help' for information about FORMAT.
378
+
379
+ Report bugs to <bug-autoconf@gnu.org>.
380
+ GNU Autoconf home page: <http://www.gnu.org/software/autoconf/>.
381
+ General help using GNU software: <http://www.gnu.org/gethelp/>."
382
+
383
+ version="\
384
+ autoconf (GNU Autoconf) 2.69
385
+ Copyright (C) 2012 Free Software Foundation, Inc.
386
+ License GPLv3+/Autoconf: GNU GPL version 3 or later
387
+ <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
388
+ This is free software: you are free to change and redistribute it.
389
+ There is NO WARRANTY, to the extent permitted by law.
390
+
391
+ Written by David J. MacKenzie and Akim Demaille."
392
+
393
+ help="\
394
+ Try \`$as_me --help' for more information."
395
+
396
+ exit_missing_arg='
397
+ as_fn_error $? "option \`$1'\'' requires an argument$as_nl$help"'
398
+ # restore font-lock: '
399
+
400
+ # Variables.
401
+ : ${AUTOM4TE='/mettle/build/tools/bin/autom4te'}
402
+ autom4te_options=
403
+ outfile=
404
+ verbose=false
405
+
406
+ # Parse command line.
407
+ while test $# -gt 0 ; do
408
+ option=`expr "x$1" : 'x\(--[^=]*\)' \| \
409
+ "x$1" : 'x\(-.\)'`
410
+ optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
411
+ "x$1" : 'x-.\(.*\)'`
412
+ case $1 in
413
+ --version | -V )
414
+ echo "$version" ; exit ;;
415
+ --help | -h )
416
+ $as_echo "$usage"; exit ;;
417
+
418
+ --verbose | -v )
419
+ verbose=:
420
+ autom4te_options="$autom4te_options $1"; shift ;;
421
+
422
+ # Arguments passed as is to autom4te.
423
+ --debug | -d | \
424
+ --force | -f | \
425
+ --include=* | -I?* | \
426
+ --prepend-include=* | -B?* | \
427
+ --warnings=* | -W?* )
428
+ case $1 in
429
+ *\'*) arg=`$as_echo "$1" | sed "s/'/'\\\\\\\\''/g"` ;; #'
430
+ *) arg=$1 ;;
431
+ esac
432
+ autom4te_options="$autom4te_options '$arg'"; shift ;;
433
+ # Options with separated arg passed as is to autom4te.
434
+ --include | -I | \
435
+ --prepend-include | -B | \
436
+ --warnings | -W )
437
+ test $# = 1 && eval "$exit_missing_arg"
438
+ case $2 in
439
+ *\'*) arg=`$as_echo "$2" | sed "s/'/'\\\\\\\\''/g"` ;; #'
440
+ *) arg=$2 ;;
441
+ esac
442
+ autom4te_options="$autom4te_options $option '$arg'"
443
+ shift; shift ;;
444
+
445
+ --trace=* | -t?* )
446
+ traces="$traces --trace='"`$as_echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`"'"
447
+ shift ;;
448
+ --trace | -t )
449
+ test $# = 1 && eval "$exit_missing_arg"
450
+ traces="$traces --trace='"`$as_echo "$2" | sed "s/'/'\\\\\\\\''/g"`"'"
451
+ shift; shift ;;
452
+ --initialization | -i )
453
+ autom4te_options="$autom4te_options --melt"
454
+ shift;;
455
+
456
+ --output=* | -o?* )
457
+ outfile=$optarg
458
+ shift ;;
459
+ --output | -o )
460
+ test $# = 1 && eval "$exit_missing_arg"
461
+ outfile=$2
462
+ shift; shift ;;
463
+
464
+ -- ) # Stop option processing
465
+ shift; break ;;
466
+ - ) # Use stdin as input.
467
+ break ;;
468
+ -* )
469
+ exec >&2
470
+ as_fn_error $? "invalid option \`$1'$as_nl$help" ;; #`
471
+ * )
472
+ break ;;
473
+ esac
474
+ done
475
+
476
+ # Find the input file.
477
+ case $# in
478
+ 0)
479
+ if test -f configure.ac; then
480
+ if test -f configure.in; then
481
+ $as_echo "$as_me: warning: both \`configure.ac' and \`configure.in' are present." >&2
482
+ $as_echo "$as_me: warning: proceeding with \`configure.ac'." >&2
483
+ fi
484
+ infile=configure.ac
485
+ elif test -f configure.in; then
486
+ infile=configure.in
487
+ else
488
+ as_fn_error $? "no input file"
489
+ fi
490
+ test -z "$traces" && test -z "$outfile" && outfile=configure;;
491
+ 1)
492
+ infile=$1 ;;
493
+ *) exec >&2
494
+ as_fn_error $? "invalid number of arguments$as_nl$help" ;;
495
+ esac
496
+
497
+ # Unless specified, the output is stdout.
498
+ test -z "$outfile" && outfile=-
499
+
500
+ # Run autom4te with expansion.
501
+ eval set x "$autom4te_options" \
502
+ --language=autoconf --output=\"\$outfile\" "$traces" \"\$infile\"
503
+ shift
504
+ $verbose && $as_echo "$as_me: running $AUTOM4TE $*" >&2
505
+ exec "$AUTOM4TE" "$@"