configure 898 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1001
ac_prev=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1002
ac_dashdash=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1003
1004
1005
1006
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
1007
    eval $ac_prev=\$ac_option
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1008
1009
1010
1011
    ac_prev=
    continue
  fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1012
1013
1014
1015
  case $ac_option in
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  *)	ac_optarg=yes ;;
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1016
1017
1018

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

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1019
1020
1021
  case $ac_dashdash$ac_option in
  --)
    ac_dashdash=yes ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042

  -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
1043
  -datadir | --datadir | --datadi | --datad)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1044
    ac_prev=datadir ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1045
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1046
1047
    datadir=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1048
1049
1050
1051
1052
1053
1054
  -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
1055
  -disable-* | --disable-*)
1056
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1057
    # Reject names that are not valid shell variable names.
1058
1059
    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
1060
   { (exit 1); exit 1; }; }
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
    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
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080

  -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
1081
1082

  -enable-* | --enable-*)
1083
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1084
    # Reject names that are not valid shell variable names.
1085
1086
    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
1087
   { (exit 1); exit 1; }; }
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
    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
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123

  -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
1124
1125
1126
1127
1128
1129
  -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
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
  -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
1154
1155
1156
1157
1158
  -localedir | --localedir | --localedi | --localed | --locale)
    ac_prev=localedir ;;
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    localedir=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1159
  -localstatedir | --localstatedir | --localstatedi | --localstated \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1160
  | --localstate | --localstat | --localsta | --localst | --locals)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1161
1162
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1163
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1164
1165
1166
1167
1168
1169
1170
1171
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
    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
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
  -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
1238
1239
1240
1241
1242
1243
1244
1245
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
  -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-*)
1288
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1289
    # Reject names that are not valid shell variable names.
1290
1291
    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
1292
   { (exit 1); exit 1; }; }
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
    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
1303
1304

  -without-* | --without-*)
1305
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1306
    # Reject names that are not valid shell variable names.
1307
1308
    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
1309
   { (exit 1); exit 1; }; }
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
    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
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338

  --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 ;;

1339
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1340
1341
1342
1343
1344
1345
1346
1347
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 &&
1348
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1349
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1350
    eval $ac_envvar=\$ac_optarg
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1351
1352
1353
1354
    export $ac_envvar ;;

  *)
    # FIXME: should be removed in autoconf 3.0.
1355
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1356
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1357
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1358
1359
1360
1361
1362
1363
1364
1365
    : ${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'`
1366
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1367
1368
1369
   { (exit 1); exit 1; }; }
fi

1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
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
1380
1381
1382
1383
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
1384
do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1385
  eval ac_val=\$$ac_var
1386
1387
1388
1389
1390
1391
1392
  # 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
1393
  case $ac_val in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1394
1395
    [\\/$]* | ?:[\\/]* )  continue;;
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1396
  esac
1397
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1398
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
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
1412
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
    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
1425
1426
1427
ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1428
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1429
1430
   { (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1431
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1432
1433
1434
   { (exit 1); exit 1; }; }


Emmanuel Bertin's avatar
Emmanuel Bertin committed
1435
1436
1437
# 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
1438
  # Try the directory containing this script, then the parent directory.
1439
1440
1441
1442
1443
1444
  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
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
    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
1462
  srcdir=$ac_confdir
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1463
  if test ! -r "$srcdir/$ac_unique_file"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1464
1465
1466
1467
1468
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1469
1470
if test ! -r "$srcdir/$ac_unique_file"; then
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1471
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1472
1473
   { (exit 1); exit 1; }; }
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1474
1475
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
1476
	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1477
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
	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
1495
1496
1497
1498
1499
1500
1501
1502

#
# 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
1503
\`configure' configures sextractor 2.8.8 to adapt to many kinds of systems.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524

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
1525
                          [$ac_default_prefix]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1526
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1527
                          [PREFIX]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1528
1529
1530
1531
1532
1533
1534
1535
1536

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:
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
  --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
1556
1557
1558
1559
1560
1561
1562
1563
_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
1564
1565
1566
1567

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
1568
1569
1570
1571
1572
_ACEOF
fi

if test -n "$ac_init_help"; then
  case $ac_init_help in
1573
     short | recursive ) echo "Configuration of sextractor 2.8.8:";;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1574
1575
1576
1577
   esac
  cat <<\_ACEOF

Optional Features:
1578
  --disable-option-checking  ignore unrecognized --enable/--with options
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1579
1580
1581
1582
1583
1584
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --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
1585
1586
1587
1588
1589
  --enable-static[=PKGS]  build static libraries [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --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
1590
  --disable-largefile     omit support for large files
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1591
  --enable-threads[=<max_number_of_threads>]
1592
1593
                          Enable multhreading (on with up to 16 threads by
                          default)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
  --enable-gprof          Enable special mode for compilation with the gprof
                          profiler (off by default)
  --enable-static         Enable static linking (off by default)

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
1618
1619
1620
1621
1622
1623

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
1624
1625
1626
  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
1627
  CPP         C preprocessor
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1628
1629
1630
1631
1632
  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
1633
1634
1635
1636
1637
1638

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
1639
ac_status=$?
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1640
1641
1642
1643
1644
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
1645
1646
1647
    test -d "$ac_dir" ||
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
      continue
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1648
1649
    ac_builddir=.

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1650
1651
1652
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
1653
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1654
  # A ".." for each directory in $ac_dir_suffix.
1655
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1656
1657
1658
1659
1660
1661
1662
1663
1664
  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
1665
1666

case $srcdir in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1667
  .)  # We are building in place.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1668
    ac_srcdir=.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1669
1670
1671
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1672
    ac_srcdir=$srcdir$ac_dir_suffix;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1673
1674
1675
1676
1677
1678
    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
1679
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
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
1690
    else
1691
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1692
1693
    fi || ac_status=$?
    cd "$ac_pwd" || { ac_status=$?; break; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1694
1695
1696
  done
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1697
test -n "$ac_init_help" && exit $ac_status
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1698
1699
if $ac_init_version; then
  cat <<\_ACEOF
1700
1701
sextractor configure 2.8.8
generated by GNU Autoconf 2.63
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1702

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1703
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1704
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1705
1706
1707
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
1708
  exit
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1709
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1710
cat >config.log <<_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1711
1712
1713
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

1714
1715
It was created by sextractor $as_me 2.8.8, which was
generated by GNU Autoconf 2.63.  Invocation command line was
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1716
1717
1718
1719

  $ $0 $@

_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1720
exec 5>>config.log
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
{
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
1739
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
/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=.
1751
  $as_echo "PATH: $as_dir"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1752
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1753
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784

} >&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
1785
    *\'*)
1786
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
    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
1807
      ac_configure_args="$ac_configure_args '$ac_arg'"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
      ;;
    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
1818
1819
# 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
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
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
1832
1833
1834
1835
1836
1837
(
  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 #(
1838
1839
      *_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
1840
1841
1842
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
1843
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1844
1845
1846
1847
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1848
  (set) 2>&1 |
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1849
1850
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1851
      sed -n \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1852
1853
1854
	"s/'\''/'\''\\\\'\'''\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
      ;; #(
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1855
    *)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1856
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1857
      ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1858
1859
1860
    esac |
    sort
)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
    echo

    cat <<\_ASBOX
## ----------------- ##
## Output variables. ##
## ----------------- ##
_ASBOX
    echo
    for ac_var in $ac_subst_vars
    do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1871
1872
      eval ac_val=\$$ac_var
      case $ac_val in
1873
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1874
      esac
1875
      $as_echo "$ac_var='\''$ac_val'\''"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1876
1877
1878
1879
1880
    done | sort
    echo

    if test -n "$ac_subst_files"; then
      cat <<\_ASBOX
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1881
1882
1883
## ------------------- ##
## File substitutions. ##
## ------------------- ##
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1884
1885
1886
1887
_ASBOX
      echo
      for ac_var in $ac_subst_files
      do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1888
1889
	eval ac_val=\$$ac_var
	case $ac_val in
1890
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1891
	esac
1892
	$as_echo "$ac_var='\''$ac_val'\''"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
      done | sort
      echo
    fi

    if test -s confdefs.h; then
      cat <<\_ASBOX
## ----------- ##
## confdefs.h. ##
## ----------- ##
_ASBOX
      echo
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1904
      cat confdefs.h
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1905
1906
1907
      echo
    fi
    test "$ac_signal" != 0 &&
1908
1909
      $as_echo "$as_me: caught signal $ac_signal"
    $as_echo "$as_me: exit $exit_status"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1910
  } >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1911
1912
  rm -f core *.core core.conftest.* &&
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1913
    exit $exit_status
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1914
' 0
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1915
1916
1917
1918
1919
1920
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
1921
rm -f -r conftest* confdefs.h
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950

# 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.
1951
1952
1953
# Prefer an explicitly selected file to automatically selected ones.
ac_site_file1=NONE
ac_site_file2=NONE
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1954
if test -n "$CONFIG_SITE"; then
1955
  ac_site_file1=$CONFIG_SITE
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1956
elif test "x$prefix" != xNONE; then
1957
1958
  ac_site_file1=$prefix/share/config.site
  ac_site_file2=$prefix/etc/config.site
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1959
else
1960
1961
  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
1962
fi
1963
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1964
do
1965
  test "x$ac_site_file" = xNONE && continue
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1966
  if test -r "$ac_site_file"; then
1967
1968
    { $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
1969
1970
1971
1972
1973
1974
1975
1976
1977
    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
1978
for ac_var in $ac_precious_vars; do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1979
1980
  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
1981
1982
  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
1983
1984
  case $ac_old_set,$ac_new_set in
    set,)
1985
1986
      { $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;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1987
1988
      ac_cache_corrupted=: ;;
    ,set)
1989
1990
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1991
1992
1993
1994
      ac_cache_corrupted=: ;;
    ,);;
    *)
      if test "x$ac_old_val" != "x$ac_new_val"; then
1995
1996
1997
1998
1999
2000
	# differences in whitespace do not lead to failure.
	ac_old_val_w=`echo x $ac_old_val`
	ac_new_val_w=`echo x $ac_new_val`
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
For faster browsing, not all history is shown. View entire blame