configure 913 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1001
1002
1003
1004
1005
1006
1007
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1008
1009

ac_prev=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1010
ac_dashdash=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1011
1012
1013
1014
for ac_option
do
  # If the previous option needs an argument, assign it.
  if test -n "$ac_prev"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1015
    eval $ac_prev=\$ac_option
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1016
1017
1018
1019
    ac_prev=
    continue
  fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1020
1021
1022
1023
  case $ac_option in
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  *)	ac_optarg=yes ;;
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1024
1025
1026

  # Accept the important Cygnus configure options, so we can diagnose typos.

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1027
1028
1029
  case $ac_dashdash$ac_option in
  --)
    ac_dashdash=yes ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050

  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    ac_prev=bindir ;;
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    bindir=$ac_optarg ;;

  -build | --build | --buil | --bui | --bu)
    ac_prev=build_alias ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build_alias=$ac_optarg ;;

  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    ac_prev=cache_file ;;
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    cache_file=$ac_optarg ;;

  --config-cache | -C)
    cache_file=config.cache ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1051
  -datadir | --datadir | --datadi | --datad)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1052
    ac_prev=datadir ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1053
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1054
1055
    datadir=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1056
1057
1058
1059
1060
1061
1062
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  | --dataroo | --dataro | --datar)
    ac_prev=datarootdir ;;
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    datarootdir=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1063
  -disable-* | --disable-*)
1064
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1065
    # Reject names that are not valid shell variable names.
1066
1067
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1068
   { (exit 1); exit 1; }; }
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
    ac_useropt_orig=$ac_useropt
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"enable_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval enable_$ac_useropt=no ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088

  -docdir | --docdir | --docdi | --doc | --do)
    ac_prev=docdir ;;
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    docdir=$ac_optarg ;;

  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    ac_prev=dvidir ;;
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    dvidir=$ac_optarg ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1089
1090

  -enable-* | --enable-*)
1091
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1092
    # Reject names that are not valid shell variable names.
1093
1094
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1095
   { (exit 1); exit 1; }; }
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
    ac_useropt_orig=$ac_useropt
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"enable_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval enable_$ac_useropt=\$ac_optarg ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131

  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | --exec | --exe | --ex)
    ac_prev=exec_prefix ;;
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | --exec=* | --exe=* | --ex=*)
    exec_prefix=$ac_optarg ;;

  -gas | --gas | --ga | --g)
    # Obsolete; use --with-gas.
    with_gas=yes ;;

  -help | --help | --hel | --he | -h)
    ac_init_help=long ;;
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    ac_init_help=recursive ;;
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    ac_init_help=short ;;

  -host | --host | --hos | --ho)
    ac_prev=host_alias ;;
  -host=* | --host=* | --hos=* | --ho=*)
    host_alias=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1132
1133
1134
1135
1136
1137
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    ac_prev=htmldir ;;
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  | --ht=*)
    htmldir=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
  -includedir | --includedir | --includedi | --included | --include \
  | --includ | --inclu | --incl | --inc)
    ac_prev=includedir ;;
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | --includ=* | --inclu=* | --incl=* | --inc=*)
    includedir=$ac_optarg ;;

  -infodir | --infodir | --infodi | --infod | --info | --inf)
    ac_prev=infodir ;;
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    infodir=$ac_optarg ;;

  -libdir | --libdir | --libdi | --libd)
    ac_prev=libdir ;;
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    libdir=$ac_optarg ;;

  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | --libexe | --libex | --libe)
    ac_prev=libexecdir ;;
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | --libexe=* | --libex=* | --libe=*)
    libexecdir=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1162
1163
1164
1165
1166
  -localedir | --localedir | --localedi | --localed | --locale)
    ac_prev=localedir ;;
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    localedir=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1167
  -localstatedir | --localstatedir | --localstatedi | --localstated \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1168
  | --localstate | --localstat | --localsta | --localst | --locals)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1169
1170
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1171
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
    localstatedir=$ac_optarg ;;

  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    ac_prev=mandir ;;
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    mandir=$ac_optarg ;;

  -nfp | --nfp | --nf)
    # Obsolete; use --without-fp.
    with_fp=no ;;

  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c | -n)
    no_create=yes ;;

  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    no_recursion=yes ;;

  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | --oldin | --oldi | --old | --ol | --o)
    ac_prev=oldincludedir ;;
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    oldincludedir=$ac_optarg ;;

  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    ac_prev=prefix ;;
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    prefix=$ac_optarg ;;

  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | --program-pre | --program-pr | --program-p)
    ac_prev=program_prefix ;;
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    program_prefix=$ac_optarg ;;

  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | --program-suf | --program-su | --program-s)
    ac_prev=program_suffix ;;
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    program_suffix=$ac_optarg ;;

  -program-transform-name | --program-transform-name \
  | --program-transform-nam | --program-transform-na \
  | --program-transform-n | --program-transform- \
  | --program-transform | --program-transfor \
  | --program-transfo | --program-transf \
  | --program-trans | --program-tran \
  | --progr-tra | --program-tr | --program-t)
    ac_prev=program_transform_name ;;
  -program-transform-name=* | --program-transform-name=* \
  | --program-transform-nam=* | --program-transform-na=* \
  | --program-transform-n=* | --program-transform-=* \
  | --program-transform=* | --program-transfor=* \
  | --program-transfo=* | --program-transf=* \
  | --program-trans=* | --program-tran=* \
  | --progr-tra=* | --program-tr=* | --program-t=*)
    program_transform_name=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    ac_prev=pdfdir ;;
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    pdfdir=$ac_optarg ;;

  -psdir | --psdir | --psdi | --psd | --ps)
    ac_prev=psdir ;;
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    psdir=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil)
    silent=yes ;;

  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    ac_prev=sbindir ;;
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | --sbi=* | --sb=*)
    sbindir=$ac_optarg ;;

  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | --sharedst | --shareds | --shared | --share | --shar \
  | --sha | --sh)
    ac_prev=sharedstatedir ;;
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | --sha=* | --sh=*)
    sharedstatedir=$ac_optarg ;;

  -site | --site | --sit)
    ac_prev=site ;;
  -site=* | --site=* | --sit=*)
    site=$ac_optarg ;;

  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    ac_prev=srcdir ;;
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    srcdir=$ac_optarg ;;

  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | --syscon | --sysco | --sysc | --sys | --sy)
    ac_prev=sysconfdir ;;
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    sysconfdir=$ac_optarg ;;

  -target | --target | --targe | --targ | --tar | --ta | --t)
    ac_prev=target_alias ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target_alias=$ac_optarg ;;

  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    verbose=yes ;;

  -version | --version | --versio | --versi | --vers | -V)
    ac_init_version=: ;;

  -with-* | --with-*)
1296
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1297
    # Reject names that are not valid shell variable names.
1298
1299
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1300
   { (exit 1); exit 1; }; }
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
    ac_useropt_orig=$ac_useropt
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"with_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval with_$ac_useropt=\$ac_optarg ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1311
1312

  -without-* | --without-*)
1313
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1314
    # Reject names that are not valid shell variable names.
1315
1316
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1317
   { (exit 1); exit 1; }; }
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
    ac_useropt_orig=$ac_useropt
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"with_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval with_$ac_useropt=no ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346

  --x)
    # Obsolete; use --with-x.
    with_x=yes ;;

  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | --x-incl | --x-inc | --x-in | --x-i)
    ac_prev=x_includes ;;
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    x_includes=$ac_optarg ;;

  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    ac_prev=x_libraries ;;
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    x_libraries=$ac_optarg ;;

1347
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1348
1349
1350
1351
1352
1353
1354
1355
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; }
    ;;

  *=*)
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    # Reject names that are not valid shell variable names.
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1356
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1357
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1358
    eval $ac_envvar=\$ac_optarg
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1359
1360
1361
1362
    export $ac_envvar ;;

  *)
    # FIXME: should be removed in autoconf 3.0.
1363
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1364
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1365
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1366
1367
1368
1369
1370
1371
1372
1373
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    ;;

  esac
done

if test -n "$ac_prev"; then
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1374
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1375
1376
1377
   { (exit 1); exit 1; }; }
fi

1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
if test -n "$ac_unrecognized_opts"; then
  case $enable_option_checking in
    no) ;;
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   { (exit 1); exit 1; }; } ;;
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  esac
fi

# Check all directory arguments for consistency.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1388
1389
1390
1391
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
		datadir sysconfdir sharedstatedir localstatedir includedir \
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
		libdir localedir mandir
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1392
do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1393
  eval ac_val=\$$ac_var
1394
1395
1396
1397
1398
1399
1400
  # Remove trailing slashes.
  case $ac_val in
    */ )
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
      eval $ac_var=\$ac_val;;
  esac
  # Be sure to have absolute directory names.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1401
  case $ac_val in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1402
1403
    [\\/$]* | ?:[\\/]* )  continue;;
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1404
  esac
1405
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1406
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
done

# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
host=$host_alias
target=$target_alias

# FIXME: To remove some day.
if test "x$host_alias" != x; then
  if test "x$build_alias" = x; then
    cross_compiling=maybe
1420
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
    If a cross compiler is detected then cross compile mode will be used." >&2
  elif test "x$build_alias" != "x$host_alias"; then
    cross_compiling=yes
  fi
fi

ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-

test "$silent" = yes && exec 6>/dev/null


Emmanuel Bertin's avatar
Emmanuel Bertin committed
1433
1434
1435
ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1436
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1437
1438
   { (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1439
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1440
1441
1442
   { (exit 1); exit 1; }; }


Emmanuel Bertin's avatar
Emmanuel Bertin committed
1443
1444
1445
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
  ac_srcdir_defaulted=yes
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1446
  # Try the directory containing this script, then the parent directory.
1447
1448
1449
1450
1451
1452
  ac_confdir=`$as_dirname -- "$as_myself" ||
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_myself" : 'X\(//\)[^/]' \| \
	 X"$as_myself" : 'X\(//\)$' \| \
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$as_myself" |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1470
  srcdir=$ac_confdir
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1471
  if test ! -r "$srcdir/$ac_unique_file"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1472
1473
1474
1475
1476
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1477
1478
if test ! -r "$srcdir/$ac_unique_file"; then
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1479
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1480
1481
   { (exit 1); exit 1; }; }
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1482
1483
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
1484
	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1485
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
	pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
  srcdir=.
fi
# Remove unnecessary trailing slashes from srcdir.
# Double slashes in file names in object file debugging info
# mess up M-x gdb in Emacs.
case $srcdir in
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
esac
for ac_var in $ac_precious_vars; do
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_env_${ac_var}_value=\$${ac_var}
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1503
1504
1505
1506
1507
1508
1509
1510

#
# Report the --help message.
#
if test "$ac_init_help" = "long"; then
  # Omit some internal or obsolete options to make the list less imposing.
  # This message is too long to be a string in the A/UX 3.1 sh.
  cat <<_ACEOF
1511
\`configure' configures sextractor 2.12.0 to adapt to many kinds of systems.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532

Usage: $0 [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print \`checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for \`--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
1533
                          [$ac_default_prefix]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1534
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1535
                          [PREFIX]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1536
1537
1538
1539
1540
1541
1542
1543
1544

By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
for instance \`--prefix=\$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/sextractor]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1564
1565
1566
1567
1568
1569
1570
1571
_ACEOF

  cat <<\_ACEOF

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1572
1573
1574
1575

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1576
1577
1578
1579
1580
_ACEOF
fi

if test -n "$ac_init_help"; then
  case $ac_init_help in
1581
     short | recursive ) echo "Configuration of sextractor 2.12.0:";;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1582
1583
1584
1585
   esac
  cat <<\_ACEOF

Optional Features:
1586
  --disable-option-checking  ignore unrecognized --enable/--with options
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1587
1588
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1589
  --enable-auto-flags     Let the configure script choose the compilation
1590
                          flags (off by default)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1591
1592
1593
1594
  --enable-icc            Enable special mode for compilation with the Intel
                          compiler (off by default)
  --disable-dependency-tracking  speeds up one-time build
  --enable-dependency-tracking   do not reject slow dependency extractors
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1595
  --enable-shared[=PKGS]  build shared libraries [default=yes]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1596
  --enable-static[=PKGS]  build static libraries [default=yes]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1597
1598
1599
  --enable-fast-install[=PKGS]
                          optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1600
  --disable-largefile     omit support for large files
1601
1602
  --disable-model-fitting Disable model-fitting and ATLAS/FFTW dependency
                          (enabled by default)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1603
  --enable-threads[=<max_number_of_threads>]
1604
1605
                          Enable multhreading (on with up to 16 threads by
                          default)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1606
1607
  --enable-gprof          Enable special mode for compilation with the gprof
                          profiler (off by default)
1608
1609
1610
  --enable-best-link      Choose the right combination of static and dynamic
                          linking to make the executable as portable as
                          possible (off by default)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --with-pic              try to use only PIC/non-PIC objects [default=use
                          both]
  --with-tags[=TAGS]      include additional configurations [automatic]
  --with-atlas=<ATLAS library path>
                          Provide an alternative path to the ATLAS library
  --with-atlas-incdir=<ATLAS include dir>
                          Provide an alternative path to the ATLAS include
                          directory
  --with-fftw=<FFTW library path>
                          Provide an alternative path to the FFTW library
  --with-fftw-incdir=<FFTW include dir>
                          Provide an alternative path to the FFTW include
                          directory
  --with-xsl_url=<default URL for XSLT filter>
                          Provide an alternative default URL of the XSLT
                          filter
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1632
1633
1634
1635
1636
1637

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1638
1639
1640
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1641
  CPP         C preprocessor
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1642
1643
1644
1645
1646
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  CXXCPP      C++ preprocessor
  F77         Fortran 77 compiler command
  FFLAGS      Fortran 77 compiler flags
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1647
1648
1649
1650
1651
1652

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <bertin@iap.fr>.
_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1653
ac_status=$?
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1654
1655
1656
1657
1658
fi

if test "$ac_init_help" = "recursive"; then
  # If there are subdirs, report their specific --help.
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1659
1660
1661
    test -d "$ac_dir" ||
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
      continue
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1662
1663
    ac_builddir=.

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1664
1665
1666
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
1667
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1668
  # A ".." for each directory in $ac_dir_suffix.
1669
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1670
1671
1672
1673
1674
1675
1676
1677
1678
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1679
1680

case $srcdir in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1681
  .)  # We are building in place.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1682
    ac_srcdir=.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1683
1684
1685
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1686
    ac_srcdir=$srcdir$ac_dir_suffix;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1687
1688
1689
1690
1691
1692
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1693
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix

    cd "$ac_dir" || { ac_status=$?; continue; }
    # Check for guested configure.
    if test -f "$ac_srcdir/configure.gnu"; then
      echo &&
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    elif test -f "$ac_srcdir/configure"; then
      echo &&
      $SHELL "$ac_srcdir/configure" --help=recursive
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1704
    else
1705
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1706
1707
    fi || ac_status=$?
    cd "$ac_pwd" || { ac_status=$?; break; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1708
1709
1710
  done
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1711
test -n "$ac_init_help" && exit $ac_status
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1712
1713
if $ac_init_version; then
  cat <<\_ACEOF
1714
sextractor configure 2.12.0
1715
generated by GNU Autoconf 2.63
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1716

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1717
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1718
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1719
1720
1721
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1722
  exit
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1723
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1724
cat >config.log <<_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1725
1726
1727
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

1728
It was created by sextractor $as_me 2.12.0, which was
1729
generated by GNU Autoconf 2.63.  Invocation command line was
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1730
1731
1732
1733

  $ $0 $@

_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1734
exec 5>>config.log
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
{
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##

hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`

/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`

/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1753
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`

_ASUNAME

as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
1765
  $as_echo "PATH: $as_dir"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1766
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1767
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798

} >&5

cat >&5 <<_ACEOF


## ----------- ##
## Core tests. ##
## ----------- ##

_ACEOF


# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
# Strip out --silent because we don't want to record it for future runs.
# Also quote any args containing shell meta-characters.
# Make two passes to allow for proper duplicate-argument suppression.
ac_configure_args=
ac_configure_args0=
ac_configure_args1=
ac_must_keep_next=false
for ac_pass in 1 2
do
  for ac_arg
  do
    case $ac_arg in
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    | -silent | --silent | --silen | --sile | --sil)
      continue ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1799
    *\'*)
1800
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
    esac
    case $ac_pass in
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    2)
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
      if test $ac_must_keep_next = true; then
	ac_must_keep_next=false # Got value, back to normal.
      else
	case $ac_arg in
	  *=* | --config-cache | -C | -disable-* | --disable-* \
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
	  | -with-* | --with-* | -without-* | --without-* | --x)
	    case "$ac_configure_args0 " in
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
	    esac
	    ;;
	  -* ) ac_must_keep_next=true ;;
	esac
      fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1821
      ac_configure_args="$ac_configure_args '$ac_arg'"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
      ;;
    esac
  done
done
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }

# When interrupted or exit'd, cleanup temporary files, and complete
# config.log.  We remove comments because anyway the quotes in there
# would cause problems or look ugly.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1832
1833
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
trap 'exit_status=$?
  # Save into config.log some information that might help in debugging.
  {
    echo

    cat <<\_ASBOX
## ---------------- ##
## Cache variables. ##
## ---------------- ##
_ASBOX
    echo
    # The following way of writing the cache mishandles newlines in values,
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1846
1847
1848
1849
1850
1851
(
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
1852
1853
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1854
1855
1856
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
1857
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1858
1859
1860
1861
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1862
  (set) 2>&1 |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1863
1864
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1865
      sed -n \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1866
1867
1868
	"s/'\''/'\''\\\\'\'''\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
      ;; #(
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1869
    *)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1870
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1871
      ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1872
1873
1874
    esac |
    sort
)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
    echo

    cat <<\_ASBOX
## ----------------- ##
## Output variables. ##
## ----------------- ##
_ASBOX
    echo
    for ac_var in $ac_subst_vars
    do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1885
1886
      eval ac_val=\$$ac_var
      case $ac_val in
1887
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1888
      esac
1889
      $as_echo "$ac_var='\''$ac_val'\''"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1890
1891
1892
1893
1894
    done | sort
    echo

    if test -n "$ac_subst_files"; then
      cat <<\_ASBOX
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1895
1896
1897
## ------------------- ##
## File substitutions. ##
## ------------------- ##
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1898
1899
1900
1901
_ASBOX
      echo
      for ac_var in $ac_subst_files
      do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1902
1903
	eval ac_val=\$$ac_var
	case $ac_val in
1904
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1905
	esac
1906
	$as_echo "$ac_var='\''$ac_val'\''"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
      done | sort
      echo
    fi

    if test -s confdefs.h; then
      cat <<\_ASBOX
## ----------- ##
## confdefs.h. ##
## ----------- ##
_ASBOX
      echo
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1918
      cat confdefs.h
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1919
1920
1921
      echo
    fi
    test "$ac_signal" != 0 &&
1922
1923
      $as_echo "$as_me: caught signal $ac_signal"
    $as_echo "$as_me: exit $exit_status"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1924
  } >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1925
1926
  rm -f core *.core core.conftest.* &&
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1927
    exit $exit_status
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1928
' 0
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1929
1930
1931
1932
1933
1934
for ac_signal in 1 2 13 15; do
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
done
ac_signal=0

# confdefs.h avoids OS command line length limits that DEFS can exceed.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1935
rm -f -r conftest* confdefs.h
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964

# Predefined preprocessor variables.

cat >>confdefs.h <<_ACEOF
#define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_VERSION "$PACKAGE_VERSION"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_STRING "$PACKAGE_STRING"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
_ACEOF


# Let the site file select an alternate cache file if it wants to.
1965
1966
1967
# Prefer an explicitly selected file to automatically selected ones.
ac_site_file1=NONE
ac_site_file2=NONE
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1968
if test -n "$CONFIG_SITE"; then
1969
  ac_site_file1=$CONFIG_SITE
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1970
elif test "x$prefix" != xNONE; then
1971
1972
  ac_site_file1=$prefix/share/config.site
  ac_site_file2=$prefix/etc/config.site
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1973
else
1974
1975
  ac_site_file1=$ac_default_prefix/share/config.site
  ac_site_file2=$ac_default_prefix/etc/config.site
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1976
fi
1977
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1978
do
1979
  test "x$ac_site_file" = xNONE && continue
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1980
  if test -r "$ac_site_file"; then
1981
1982
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1983
1984
1985
1986
1987
1988
1989
1990
1991
    sed 's/^/| /' "$ac_site_file" >&5
    . "$ac_site_file"
  fi
done


# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1992
for ac_var in $ac_precious_vars; do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1993
1994
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  eval ac_new_set=\$ac_env_${ac_var}_set
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1995
1996
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  eval ac_new_val=\$ac_env_${ac_var}_value
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1997
1998
  case $ac_old_set,$ac_new_set in
    set,)
1999
2000
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
For faster browsing, not all history is shown. View entire blame