~luke-jr/tr2norigins/armagetron-0.2.8-t2o-accesslvls

« back to all changes in this revision

Viewing changes to accustomdir.m4

  • Committer: luke-jr
  • Date: 2006-05-29 01:55:42 UTC
  • Revision ID: svn-v3-list-QlpoOTFBWSZTWZvbKhsAAAdRgAAQABK6798QIABURMgAAaeoNT1TxT1DQbKaeobXKiyAmlWT7Y5MkdJOtXDtB7w7DOGFBHiOBxaUIu7HQyyQSvxdyRThQkJvbKhs:7d95bf1e-0414-0410-9756-b78462a59f44:armagetronad%2Fbranches%2F0.2.8%2Farmagetronad:4612
Unify tags/branches of modules released together

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
m4_define([_m4_divert(PARSE_ARGS_INIT)], 17)
 
2
m4_define([_m4_divert(PARSE_ARGS_FOROPTS)], 18)
 
3
m4_define([_m4_divert(PARSE_ARGS_MOREOPTS)], 19)
 
4
#m4_define([_m4_divert(PARSE_ARGS)],      20)
 
5
 
 
6
# _AC_INIT_PARSE_ARGS
 
7
# -------------------
 
8
m4_define([_AC_INIT_PARSE_ARGS],
 
9
[
 
10
m4_divert_push([PARSE_ARGS_INIT])dnl
 
11
 
 
12
# Initialize some variables set by options.
 
13
ac_init_help=
 
14
ac_init_version=false
 
15
# The variables have the same names as the options, with
 
16
# dashes changed to underlines.
 
17
cache_file=/dev/null
 
18
AC_SUBST(exec_prefix, NONE)dnl
 
19
no_create=
 
20
no_recursion=
 
21
AC_SUBST(prefix, NONE)dnl
 
22
program_prefix=NONE
 
23
program_suffix=NONE
 
24
AC_SUBST(program_transform_name, [s,x,x,])dnl
 
25
silent=
 
26
site=
 
27
srcdir=
 
28
verbose=
 
29
x_includes=NONE
 
30
x_libraries=NONE
 
31
 
 
32
# Installation directory options.
 
33
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
34
# and all the variables that are supposed to be based on exec_prefix
 
35
# by default will actually change.
 
36
# Use braces instead of parens because sh, perl, etc. also accept them.
 
37
AC_SUBST([bindir],         ['${exec_prefix}/bin'])dnl
 
38
AC_SUBST([sbindir],        ['${exec_prefix}/sbin'])dnl
 
39
AC_SUBST([libexecdir],     ['${exec_prefix}/libexec'])dnl
 
40
AC_SUBST([datadir],        ['${prefix}/share'])dnl
 
41
AC_SUBST([sysconfdir],     ['${prefix}/etc'])dnl
 
42
AC_SUBST([sharedstatedir], ['${prefix}/com'])dnl
 
43
AC_SUBST([localstatedir],  ['${prefix}/var'])dnl
 
44
AC_SUBST([libdir],         ['${exec_prefix}/lib'])dnl
 
45
AC_SUBST([includedir],     ['${prefix}/include'])dnl
 
46
dnl AC_SUBST([oldincludedir],  ['/usr/include'])dnl
 
47
dnl AC_SUBST([infodir],        ['${prefix}/info'])dnl
 
48
dnl AC_SUBST([mandir],         ['${prefix}/man'])dnl
 
49
m4_divert_pop([PARSE_ARGS_INIT])dnl
 
50
m4_divert_push([PARSE_ARGS_FOROPTS])dnl
 
51
 
 
52
ac_prev=
 
53
for ac_option
 
54
do
 
55
  # If the previous option needs an argument, assign it.
 
56
  if test -n "$ac_prev"; then
 
57
    eval "$ac_prev=\$ac_option"
 
58
    ac_prev=
 
59
    continue
 
60
  fi
 
61
 
 
62
  ac_optarg=`expr "x$ac_option" : 'x[[^=]]*=\(.*\)'`
 
63
 
 
64
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
65
 
 
66
  case $ac_option in
 
67
 
 
68
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
69
    ac_prev=bindir ;;
 
70
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
71
    bindir=$ac_optarg ;;
 
72
 
 
73
  -build | --build | --buil | --bui | --bu)
 
74
    ac_prev=build_alias ;;
 
75
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
76
    build_alias=$ac_optarg ;;
 
77
 
 
78
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
79
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
80
    ac_prev=cache_file ;;
 
81
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
82
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
83
    cache_file=$ac_optarg ;;
 
84
 
 
85
  --config-cache | -C)
 
86
    cache_file=config.cache ;;
 
87
 
 
88
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
89
    ac_prev=datadir ;;
 
90
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
91
  | --da=*)
 
92
    datadir=$ac_optarg ;;
 
93
 
 
94
  -disable-* | --disable-*)
 
95
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
96
    # Reject names that are not valid shell variable names.
 
97
    expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
 
98
      AC_MSG_ERROR([invalid feature name: $ac_feature])
 
99
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
100
    eval "enable_$ac_feature=no" ;;
 
101
 
 
102
  -enable-* | --enable-*)
 
103
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([[^=]]*\)'`
 
104
    # Reject names that are not valid shell variable names.
 
105
    expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
 
106
      AC_MSG_ERROR([invalid feature name: $ac_feature])
 
107
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
108
    case $ac_option in
 
109
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
110
      *) ac_optarg=yes ;;
 
111
    esac
 
112
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
113
 
 
114
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
115
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
116
  | --exec | --exe | --ex)
 
117
    ac_prev=exec_prefix ;;
 
118
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
119
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
120
  | --exec=* | --exe=* | --ex=*)
 
121
    exec_prefix=$ac_optarg ;;
 
122
 
 
123
  -gas | --gas | --ga | --g)
 
124
    # Obsolete; use --with-gas.
 
125
    with_gas=yes ;;
 
126
 
 
127
  -help | --help | --hel | --he | -h)
 
128
    ac_init_help=long ;;
 
129
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
130
    ac_init_help=recursive ;;
 
131
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
132
    ac_init_help=short ;;
 
133
 
 
134
  -host | --host | --hos | --ho)
 
135
    ac_prev=host_alias ;;
 
136
  -host=* | --host=* | --hos=* | --ho=*)
 
137
    host_alias=$ac_optarg ;;
 
138
 
 
139
  -includedir | --includedir | --includedi | --included | --include \
 
140
  | --includ | --inclu | --incl | --inc)
 
141
    ac_prev=includedir ;;
 
142
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
143
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
144
    includedir=$ac_optarg ;;
 
145
 
 
146
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
147
    ac_prev=infodir ;;
 
148
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
149
    infodir=$ac_optarg ;;
 
150
 
 
151
  -libdir | --libdir | --libdi | --libd)
 
152
    ac_prev=libdir ;;
 
153
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
154
    libdir=$ac_optarg ;;
 
155
 
 
156
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
157
  | --libexe | --libex | --libe)
 
158
    ac_prev=libexecdir ;;
 
159
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
160
  | --libexe=* | --libex=* | --libe=*)
 
161
    libexecdir=$ac_optarg ;;
 
162
 
 
163
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
164
  | --localstate | --localstat | --localsta | --localst \
 
165
  | --locals | --local | --loca | --loc | --lo)
 
166
    ac_prev=localstatedir ;;
 
167
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
168
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
169
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
170
    localstatedir=$ac_optarg ;;
 
171
 
 
172
dnl   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
173
dnl     ac_prev=mandir ;;
 
174
dnl   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
175
dnl     mandir=$ac_optarg ;;
 
176
 
 
177
  -nfp | --nfp | --nf)
 
178
    # Obsolete; use --without-fp.
 
179
    with_fp=no ;;
 
180
 
 
181
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
182
  | --no-cr | --no-c | -n)
 
183
    no_create=yes ;;
 
184
 
 
185
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
186
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
187
    no_recursion=yes ;;
 
188
 
 
189
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
190
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
191
  | --oldin | --oldi | --old | --ol | --o)
 
192
    ac_prev=oldincludedir ;;
 
193
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
194
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
195
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
196
    oldincludedir=$ac_optarg ;;
 
197
 
 
198
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
199
    ac_prev=prefix ;;
 
200
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
201
    prefix=$ac_optarg ;;
 
202
 
 
203
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
204
  | --program-pre | --program-pr | --program-p)
 
205
    ac_prev=program_prefix ;;
 
206
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
207
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
208
    program_prefix=$ac_optarg ;;
 
209
 
 
210
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
211
  | --program-suf | --program-su | --program-s)
 
212
    ac_prev=program_suffix ;;
 
213
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
214
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
215
    program_suffix=$ac_optarg ;;
 
216
 
 
217
  -program-transform-name | --program-transform-name \
 
218
  | --program-transform-nam | --program-transform-na \
 
219
  | --program-transform-n | --program-transform- \
 
220
  | --program-transform | --program-transfor \
 
221
  | --program-transfo | --program-transf \
 
222
  | --program-trans | --program-tran \
 
223
  | --progr-tra | --program-tr | --program-t)
 
224
    ac_prev=program_transform_name ;;
 
225
  -program-transform-name=* | --program-transform-name=* \
 
226
  | --program-transform-nam=* | --program-transform-na=* \
 
227
  | --program-transform-n=* | --program-transform-=* \
 
228
  | --program-transform=* | --program-transfor=* \
 
229
  | --program-transfo=* | --program-transf=* \
 
230
  | --program-trans=* | --program-tran=* \
 
231
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
232
    program_transform_name=$ac_optarg ;;
 
233
 
 
234
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
235
  | -silent | --silent | --silen | --sile | --sil)
 
236
    silent=yes ;;
 
237
 
 
238
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
239
    ac_prev=sbindir ;;
 
240
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
241
  | --sbi=* | --sb=*)
 
242
    sbindir=$ac_optarg ;;
 
243
 
 
244
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
245
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
246
  | --sharedst | --shareds | --shared | --share | --shar \
 
247
  | --sha | --sh)
 
248
    ac_prev=sharedstatedir ;;
 
249
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
250
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
251
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
252
  | --sha=* | --sh=*)
 
253
    sharedstatedir=$ac_optarg ;;
 
254
 
 
255
  -site | --site | --sit)
 
256
    ac_prev=site ;;
 
257
  -site=* | --site=* | --sit=*)
 
258
    site=$ac_optarg ;;
 
259
 
 
260
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
261
    ac_prev=srcdir ;;
 
262
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
263
    srcdir=$ac_optarg ;;
 
264
 
 
265
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
266
  | --syscon | --sysco | --sysc | --sys | --sy)
 
267
    ac_prev=sysconfdir ;;
 
268
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
269
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
270
    sysconfdir=$ac_optarg ;;
 
271
 
 
272
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
273
    ac_prev=target_alias ;;
 
274
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
275
    target_alias=$ac_optarg ;;
 
276
 
 
277
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
278
    verbose=yes ;;
 
279
 
 
280
  -version | --version | --versio | --versi | --vers | -V)
 
281
    ac_init_version=: ;;
 
282
 
 
283
  -with-* | --with-*)
 
284
    ac_package=`expr "x$ac_option" : 'x-*with-\([[^=]]*\)'`
 
285
    # Reject names that are not valid shell variable names.
 
286
    expr "x$ac_package" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
 
287
      AC_MSG_ERROR([invalid package name: $ac_package])
 
288
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
289
    case $ac_option in
 
290
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
291
      *) ac_optarg=yes ;;
 
292
    esac
 
293
    eval "with_$ac_package='$ac_optarg'" ;;
 
294
 
 
295
  -without-* | --without-*)
 
296
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
297
    # Reject names that are not valid shell variable names.
 
298
    expr "x$ac_package" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
 
299
      AC_MSG_ERROR([invalid package name: $ac_package])
 
300
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
301
    eval "with_$ac_package=no" ;;
 
302
 
 
303
  --x)
 
304
    # Obsolete; use --with-x.
 
305
    with_x=yes ;;
 
306
 
 
307
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
308
  | --x-incl | --x-inc | --x-in | --x-i)
 
309
    ac_prev=x_includes ;;
 
310
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
311
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
312
    x_includes=$ac_optarg ;;
 
313
 
 
314
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
315
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
316
    ac_prev=x_libraries ;;
 
317
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
318
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
319
    x_libraries=$ac_optarg ;;
 
320
 
 
321
m4_divert_pop([PARSE_ARGS_FOROPTS])dnl
 
322
m4_divert_push([PARSE_ARGS_MOREOPTS])dnl
 
323
  -*)
 
324
# ljr: TODO: should check if we've defined this path as valid...
 
325
    ac_destvar=`expr "x$ac_option" : 'x-*\([[^=]]*\)'`
 
326
    # Reject names that are not valid shell variable names.
 
327
    expr "x$ac_destvar" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
 
328
      AC_MSG_ERROR([invalid variable name: $ac_destvar])
 
329
    case $ac_option in
 
330
      *=*) eval "${ac_destvar}='\$ac_optarg'" ;;
 
331
      *) ac_prev=${ac_destvar} ;;
 
332
    esac
 
333
    ;;
 
334
 
 
335
 
 
336
  -*) AC_MSG_ERROR([unrecognized option: $ac_option
 
337
Try `$[0] --help' for more information.])
 
338
    ;;
 
339
 
 
340
  *=*)
 
341
    ac_envvar=`expr "x$ac_option" : 'x\([[^=]]*\)='`
 
342
    # Reject names that are not valid shell variable names.
 
343
    expr "x$ac_envvar" : "[.*[^_$as_cr_alnum]]" >/dev/null &&
 
344
      AC_MSG_ERROR([invalid variable name: $ac_envvar])
 
345
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
346
    eval "$ac_envvar='$ac_optarg'"
 
347
    export $ac_envvar ;;
 
348
 
 
349
  *)
 
350
    # FIXME: should be removed in autoconf 3.0.
 
351
    AC_MSG_WARN([you should use --build, --host, --target])
 
352
    expr "x$ac_option" : "[.*[^-._$as_cr_alnum]]" >/dev/null &&
 
353
      AC_MSG_WARN([invalid host type: $ac_option])
 
354
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
355
    ;;
 
356
 
 
357
  esac
 
358
done
 
359
 
 
360
if test -n "$ac_prev"; then
 
361
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
362
  AC_MSG_ERROR([missing argument to $ac_option])
 
363
fi
 
364
 
 
365
# Be sure to have absolute paths.
 
366
for ac_var in exec_prefix prefix
 
367
do
 
368
  eval ac_val=$`echo $ac_var`
 
369
  case $ac_val in
 
370
    [[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
 
371
    *)  AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val]);;
 
372
  esac
 
373
done
 
374
 
 
375
# Be sure to have absolute paths.
 
376
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
377
              localstatedir libdir includedir \
 
378
dnl oldincludedir infodir mandir \
 
379
m4_divert_pop([PARSE_ARGS_MOREOPTS])dnl
 
380
m4_divert_push([PARSE_ARGS])dnl
 
381
 
 
382
do
 
383
  eval ac_val=$`echo $ac_var`
 
384
  case $ac_val in
 
385
    [[\\/$]]* | ?:[[\\/]]* ) ;;
 
386
    *)  AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val]);;
 
387
  esac
 
388
done
 
389
 
 
390
# There might be people who depend on the old broken behavior: `$host'
 
391
# used to hold the argument of --host etc.
 
392
# FIXME: To remove some day.
 
393
build=$build_alias
 
394
host=$host_alias
 
395
target=$target_alias
 
396
 
 
397
# FIXME: To remove some day.
 
398
if test "x$host_alias" != x; then
 
399
  if test "x$build_alias" = x; then
 
400
    cross_compiling=maybe
 
401
    AC_MSG_WARN([If you wanted to set the --build type, don't use --host.
 
402
    If a cross compiler is detected then cross compile mode will be used.])
 
403
  elif test "x$build_alias" != "x$host_alias"; then
 
404
    cross_compiling=yes
 
405
  fi
 
406
fi
 
407
 
 
408
ac_tool_prefix=
 
409
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
410
 
 
411
test "$silent" = yes && exec AS_MESSAGE_FD>/dev/null
 
412
 
 
413
m4_divert_pop([PARSE_ARGS])dnl
 
414
])# _AC_INIT_PARSE_ARGS
 
415
 
 
416
m4_define([_m4_divert(HELP_DIR)],       99)
 
417
m4_define([_m4_divert(HELP_PRE)],       98)
 
418
 
 
419
# _AC_INIT_HELP
 
420
# -------------
 
421
# Handle the `configure --help' message.
 
422
m4_define([_AC_INIT_HELP],
 
423
[m4_divert_push([HELP_PRE])dnl
 
424
 
 
425
#
 
426
# Report the --help message.
 
427
#
 
428
if test "$ac_init_help" = "long"; then
 
429
  # Omit some internal or obsolete options to make the list less imposing.
 
430
  # This message is too long to be a string in the A/UX 3.1 sh.
 
431
  cat <<_ACEOF
 
432
\`configure' configures m4_ifset([AC_PACKAGE_STRING],
 
433
                        [AC_PACKAGE_STRING],
 
434
                        [this package]) to adapt to many kinds of systems.
 
435
 
 
436
Usage: $[0] [[OPTION]]... [[VAR=VALUE]]...
 
437
 
 
438
[To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
439
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
440
 
 
441
Defaults for the options are specified in brackets.
 
442
 
 
443
Configuration:
 
444
  -h, --help              display this help and exit
 
445
      --help=short        display options specific to this package
 
446
      --help=recursive    display the short help of all the included packages
 
447
  -V, --version           display version information and exit
 
448
  -q, --quiet, --silent   do not print \`checking...' messages
 
449
      --cache-file=FILE   cache test results in FILE [disabled]
 
450
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
451
  -n, --no-create         do not create output files
 
452
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
453
 
 
454
_ACEOF]
 
455
m4_divert_pop([HELP_PRE])dnl
 
456
 
 
457
m4_divert_push([HELP_DIR])dnl
 
458
[
 
459
  cat <<_ACEOF
 
460
Installation directories:
 
461
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
462
                          [$ac_default_prefix]
 
463
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
464
                          [PREFIX]
 
465
 
 
466
By default, \`make install' will install all the files in
 
467
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
468
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
469
for instance \`--prefix=\$HOME'.
 
470
 
 
471
For better control, use the options below.
 
472
 
 
473
Fine tuning of the installation directories:
 
474
  --bindir=DIR           user executables [EPREFIX/bin]
 
475
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
476
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
477
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 
478
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
479
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
480
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
481
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
482
  --includedir=DIR       C header files [PREFIX/include]
 
483
]m4_divert_pop([HELP_DIR])dnl
 
484
dnl AS_HELP_STRING([--bindir=DIR],[user executables [EPREFIX/bin]])
 
485
dnl AS_HELP_STRING([--sbindir=DIR],[system admin executables [EPREFIX/sbin]])
 
486
dnl AS_HELP_STRING([--libexecdir=DIR],[program executables [EPREFIX/libexec]])
 
487
dnl AS_HELP_STRING([--datadir=DIR],[read-only architecture-independent data [PREFIX/share]])
 
488
dnl AS_HELP_STRING([--sysconfdir=DIR],[read-only single-machine data [PREFIX/etc]])
 
489
dnl AS_HELP_STRING([--sharedstatedir=DIR],[modifiable architecture-independent data [PREFIX/com]])
 
490
dnl AS_HELP_STRING([--localstatedir=DIR],[modifiable single-machine data [PREFIX/var]])
 
491
dnl AS_HELP_STRING([--libdir=DIR],[object code libraries [EPREFIX/lib]])
 
492
dnl AS_HELP_STRING([--includedir=DIR],[C header files [PREFIX/include]])
 
493
dnl  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
494
dnl  --infodir=DIR          info documentation [PREFIX/info]
 
495
dnl  --mandir=DIR           man documentation [PREFIX/man]
 
496
 
 
497
m4_divert_push([HELP_BEGIN])dnl
 
498
[_ACEOF
 
499
 
 
500
  cat <<\_ACEOF]
 
501
m4_divert_pop([HELP_BEGIN])dnl
 
502
dnl The order of the diversions here is
 
503
dnl - HELP_PRE
 
504
dnl   General usage and configure options.  Displayed only in long --help.
 
505
dnl
 
506
dnl - HELP_DIR
 
507
dnl   Directory options.  Displayed only in long --help.
 
508
dnl
 
509
dnl - HELP_BEGIN
 
510
dnl   which may be extended by extra generic options such as with X or
 
511
dnl   AC_ARG_PROGRAM.  Displayed only in long --help.
 
512
dnl
 
513
dnl - HELP_CANON
 
514
dnl   Support for cross compilation (--build, --host and --target).
 
515
dnl   Display only in long --help.
 
516
dnl
 
517
dnl - HELP_ENABLE
 
518
dnl   which starts with the trailer of the HELP_BEGIN, HELP_CANON section,
 
519
dnl   then implements the header of the non generic options.
 
520
dnl
 
521
dnl - HELP_WITH
 
522
dnl
 
523
dnl - HELP_VAR
 
524
dnl
 
525
dnl - HELP_VAR_END
 
526
dnl
 
527
dnl - HELP_END
 
528
dnl   initialized below, in which we dump the trailer (handling of the
 
529
dnl   recursion for instance).
 
530
m4_divert_push([HELP_ENABLE])dnl
 
531
_ACEOF
 
532
fi
 
533
 
 
534
if test -n "$ac_init_help"; then
 
535
m4_ifset([AC_PACKAGE_STRING],
 
536
[  case $ac_init_help in
 
537
     short | recursive ) echo "Configuration of AC_PACKAGE_STRING:";;
 
538
   esac])
 
539
  cat <<\_ACEOF
 
540
m4_divert_pop([HELP_ENABLE])dnl
 
541
m4_divert_push([HELP_END])dnl
 
542
m4_ifset([AC_PACKAGE_BUGREPORT], [
 
543
Report bugs to <AC_PACKAGE_BUGREPORT>.])
 
544
_ACEOF
 
545
fi
 
546
 
 
547
if test "$ac_init_help" = "recursive"; then
 
548
  # If there are subdirs, report their specific --help.
 
549
  ac_popdir=`pwd`
 
550
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
551
    test -d $ac_dir || continue
 
552
    _AC_SRCPATHS(["$ac_dir"])
 
553
    cd $ac_dir
 
554
    # Check for guested configure; otherwise get Cygnus style configure.
 
555
    if test -f $ac_srcdir/configure.gnu; then
 
556
      echo
 
557
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
558
    elif test -f $ac_srcdir/configure; then
 
559
      echo
 
560
      $SHELL $ac_srcdir/configure  --help=recursive
 
561
    elif test -f $ac_srcdir/configure.ac ||
 
562
           test -f $ac_srcdir/configure.in; then
 
563
      echo
 
564
      $ac_configure --help
 
565
    else
 
566
      AC_MSG_WARN([no configuration information is in $ac_dir])
 
567
    fi
 
568
    cd $ac_popdir
 
569
  done
 
570
fi
 
571
 
 
572
test -n "$ac_init_help" && exit 0
 
573
m4_divert_pop([HELP_END])dnl
 
574
])# _AC_INIT_HELP
 
575
 
 
576
# Arguments:
 
577
# 1. the name of the directory configuration variable
 
578
# 2. the default value
 
579
# 3. a description of the purpose of the directory
 
580
# 4. human-form of the default value
 
581
AC_DEFUN([AC_ARG_DIR],
 
582
[
 
583
m4_divert_once([HELP_DIR], [[
 
584
Yet even more specific tuning of install directories:]])dnl
 
585
 
 
586
m4_divert_once([HELP_DIR], AS_HELP_STRING([--$1=DIR],[$3 [[$4]]]))
 
587
m4_divert_push(PARSE_ARGS_INIT)dnl
 
588
AC_SUBST([$1], ['$2'])dnl
 
589
m4_divert_pop(PARSE_ARGS_INIT)
 
590
 
 
591
m4_divert_once([PARSE_ARGS_FOROPTS], [dnl
 
592
  -$1 | --$1 | -with-$1 | --with-$1)
 
593
dnl | --datadi | --datad | --data | --dat | --da)
 
594
    ac_prev=$1 ;;
 
595
  -$1=* | --$1=* | -with-$1=* | --with-$1=*)
 
596
dnl | --datadi=* | --datad=* | --data=* | --dat=* \
 
597
dnl  | --da=*)
 
598
    $1=$ac_optarg ;;
 
599
])
 
600
m4_divert_once([PARSE_ARGS_MOREOPTS], [$1 \])
 
601
 
 
602
]
 
603
)