configure 911 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1001
1002
1003
1004
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1005
1006

ac_prev=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1007
ac_dashdash=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1008
1009
1010
1011
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
1012
    eval $ac_prev=\$ac_option
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1013
1014
1015
1016
    ac_prev=
    continue
  fi

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

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

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

  -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
1048
  -datadir | --datadir | --datadi | --datad)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1049
    ac_prev=datadir ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1050
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1051
1052
    datadir=$ac_optarg ;;

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

  -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
1086
1087

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

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

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

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

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

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

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

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


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

#
# 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
1508
\`configure' configures sextractor 2.9.8 to adapt to many kinds of systems.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529

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
1530
                          [$ac_default_prefix]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1531
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1532
                          [PREFIX]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1533
1534
1535
1536
1537
1538
1539
1540
1541

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:
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
  --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
1561
1562
1563
1564
1565
1566
1567
1568
_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
1569
1570
1571
1572

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
1573
1574
1575
1576
1577
_ACEOF
fi

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

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

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
1627
1628
1629
1630
1631
1632

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
1633
1634
1635
  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
1636
  CPP         C preprocessor
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1637
1638
1639
1640
1641
  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
1642
1643
1644
1645
1646
1647

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
1648
ac_status=$?
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1649
1650
1651
1652
1653
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
1654
1655
1656
    test -d "$ac_dir" ||
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
      continue
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1657
1658
    ac_builddir=.

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1659
1660
1661
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
1662
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1663
  # A ".." for each directory in $ac_dir_suffix.
1664
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1665
1666
1667
1668
1669
1670
1671
1672
1673
  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
1674
1675

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

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1706
test -n "$ac_init_help" && exit $ac_status
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1707
1708
if $ac_init_version; then
  cat <<\_ACEOF
1709
sextractor configure 2.9.8
1710
generated by GNU Autoconf 2.63
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1711

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1712
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1713
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1714
1715
1716
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
1717
  exit
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1718
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1719
cat >config.log <<_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1720
1721
1722
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

1723
It was created by sextractor $as_me 2.9.8, which was
1724
generated by GNU Autoconf 2.63.  Invocation command line was
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1725
1726
1727
1728

  $ $0 $@

_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1729
exec 5>>config.log
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
{
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
1748
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
/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=.
1760
  $as_echo "PATH: $as_dir"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1761
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1762
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1763
1764
1765
1766
1767
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

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

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

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

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

# 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.
1960
1961
1962
# Prefer an explicitly selected file to automatically selected ones.
ac_site_file1=NONE
ac_site_file2=NONE
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1963
if test -n "$CONFIG_SITE"; then
1964
  ac_site_file1=$CONFIG_SITE
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1965
elif test "x$prefix" != xNONE; then
1966
1967
  ac_site_file1=$prefix/share/config.site
  ac_site_file2=$prefix/etc/config.site
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1968
else
1969
1970
  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
1971
fi
1972
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1973
do
1974
  test "x$ac_site_file" = xNONE && continue
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1975
  if test -r "$ac_site_file"; then
1976
1977
    { $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
1978
1979
1980
1981
1982
1983
1984
1985
1986
    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
1987
for ac_var in $ac_precious_vars; do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1988
1989
  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
1990
1991
  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
1992
1993
  case $ac_old_set,$ac_new_set in
    set,)
1994
1995
      { $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
1996
1997
      ac_cache_corrupted=: ;;
    ,set)
1998
1999
      { $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
2000
      ac_cache_corrupted=: ;;
For faster browsing, not all history is shown. View entire blame