configure 759 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
  -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
1019
  -datadir | --datadir | --datadi | --datad)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1020
    ac_prev=datadir ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1021
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1022
1023
    datadir=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1024
1025
1026
1027
1028
1029
1030
  -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
1031
  -disable-* | --disable-*)
1032
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1033
    # Reject names that are not valid shell variable names.
1034
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035
      as_fn_error $? "invalid feature name: $ac_useropt"
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
    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
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055

  -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
1056
1057

  -enable-* | --enable-*)
1058
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1059
    # Reject names that are not valid shell variable names.
1060
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061
      as_fn_error $? "invalid feature name: $ac_useropt"
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
    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
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097

  -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
1098
1099
1100
1101
1102
1103
  -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
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
  -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
1128
1129
1130
1131
1132
  -localedir | --localedir | --localedi | --localed | --locale)
    ac_prev=localedir ;;
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    localedir=$ac_optarg ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1133
  -localstatedir | --localstatedir | --localstatedi | --localstated \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1134
  | --localstate | --localstat | --localsta | --localst | --locals)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1135
1136
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1137
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
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
    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
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
  -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
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
  -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-*)
1262
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1263
    # Reject names that are not valid shell variable names.
1264
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1265
      as_fn_error $? "invalid package name: $ac_useropt"
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
    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
1276
1277

  -without-* | --without-*)
1278
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1279
    # Reject names that are not valid shell variable names.
1280
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1281
      as_fn_error $? "invalid package name: $ac_useropt"
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
    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
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310

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

1311
1312
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
Try \`$0 --help' for more information"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1313
1314
1315
1316
1317
    ;;

  *=*)
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    # Reject names that are not valid shell variable names.
1318
1319
1320
1321
    case $ac_envvar in #(
      '' | [0-9]* | *[!_$as_cr_alnum]* )
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1322
    eval $ac_envvar=\$ac_optarg
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1323
1324
1325
1326
    export $ac_envvar ;;

  *)
    # FIXME: should be removed in autoconf 3.0.
1327
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1328
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1329
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1331
1332
1333
1334
1335
1336
1337
    ;;

  esac
done

if test -n "$ac_prev"; then
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1338
  as_fn_error $? "missing argument to $ac_option"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1339
1340
fi

1341
1342
1343
if test -n "$ac_unrecognized_opts"; then
  case $enable_option_checking in
    no) ;;
1344
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1345
1346
1347
1348
1349
    *)     $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
1350
1351
1352
1353
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
1354
do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1355
  eval ac_val=\$$ac_var
1356
1357
1358
1359
1360
1361
1362
  # 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
1363
  case $ac_val in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1364
1365
    [\\/$]* | ?:[\\/]* )  continue;;
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1366
  esac
1367
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
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
1381
1382
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
  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
1394
1395
1396
ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1397
  as_fn_error $? "working directory cannot be determined"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1398
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399
  as_fn_error $? "pwd does not report name of working directory"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1400
1401


Emmanuel Bertin's avatar
Emmanuel Bertin committed
1402
1403
1404
# 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
1405
  # Try the directory containing this script, then the parent directory.
1406
1407
1408
1409
1410
1411
  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
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
    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
1429
  srcdir=$ac_confdir
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1430
  if test ! -r "$srcdir/$ac_unique_file"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1431
1432
1433
1434
1435
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1436
1437
if test ! -r "$srcdir/$ac_unique_file"; then
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1438
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1439
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1440
1441
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
1442
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
	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
1460
1461
1462
1463
1464
1465
1466
1467

#
# 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
1468
\`configure' configures sextractor 2.16.3 to adapt to many kinds of systems.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481

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
1482
  -q, --quiet, --silent   do not print \`checking ...' messages
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1483
1484
1485
1486
1487
1488
1489
      --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
1490
                          [$ac_default_prefix]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1491
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1492
                          [PREFIX]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1493
1494
1495
1496
1497
1498
1499
1500
1501

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:
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
  --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
1521
1522
1523
1524
1525
1526
1527
1528
_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
1529
1530
1531
1532

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
1533
1534
1535
1536
1537
_ACEOF
fi

if test -n "$ac_init_help"; then
  case $ac_init_help in
1538
     short | recursive ) echo "Configuration of sextractor 2.16.3:";;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1539
1540
1541
1542
   esac
  cat <<\_ACEOF

Optional Features:
1543
  --disable-option-checking  ignore unrecognized --enable/--with options
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1544
1545
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1546
  --enable-auto-flags     Let the configure script choose the compilation
1547
                          flags (off by default)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1548
1549
1550
1551
  --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
1552
  --enable-shared[=PKGS]  build shared libraries [default=yes]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1553
  --enable-static[=PKGS]  build static libraries [default=yes]
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1554
1555
1556
  --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
1557
  --disable-largefile     omit support for large files
1558
1559
  --disable-model-fitting Disable model-fitting and ATLAS/FFTW dependency
                          (enabled by default)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1560
  --enable-threads[=<max_number_of_threads>]
1561
1562
                          Enable multhreading (on with up to 16 threads by
                          default)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1563
1564
  --enable-gprof          Enable special mode for compilation with the gprof
                          profiler (off by default)
1565
1566
1567
  --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
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588

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
1589
1590
1591
1592
1593
1594

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
1595
  LIBS        libraries to pass to the linker, e.g. -l<library>
1596
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1597
              you have headers in a nonstandard directory <include dir>
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1598
  CPP         C preprocessor
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1599
1600
1601
1602
1603
  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
1604
1605
1606
1607
1608
1609

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
1610
ac_status=$?
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1611
1612
1613
1614
1615
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
1616
1617
1618
    test -d "$ac_dir" ||
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
      continue
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1619
1620
    ac_builddir=.

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1621
1622
1623
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
1624
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1625
  # A ".." for each directory in $ac_dir_suffix.
1626
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1627
1628
1629
1630
1631
1632
1633
1634
1635
  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
1636
1637

case $srcdir in
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1638
  .)  # We are building in place.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1639
    ac_srcdir=.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1640
1641
1642
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1643
    ac_srcdir=$srcdir$ac_dir_suffix;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1644
1645
1646
1647
1648
1649
    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
1650
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
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
1661
    else
1662
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1663
1664
    fi || ac_status=$?
    cd "$ac_pwd" || { ac_status=$?; break; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1665
1666
1667
  done
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
1668
test -n "$ac_init_help" && exit $ac_status
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1669
1670
if $ac_init_version; then
  cat <<\_ACEOF
1671
sextractor configure 2.16.3
1672
generated by GNU Autoconf 2.68
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1673

1674
Copyright (C) 2010 Free Software Foundation, Inc.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1675
1676
1677
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
1678
  exit
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1679
1680
fi

1681
1682
1683
## ------------------------ ##
## Autoconf initialization. ##
## ------------------------ ##
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1684

1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_compile ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  rm -f conftest.$ac_objext
  if { { ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
  (eval "$ac_compile") 2>conftest.err
  ac_status=$?
  if test -s conftest.err; then
    grep -v '^ *+' conftest.err >conftest.er1
    cat conftest.er1 >&5
    mv -f conftest.er1 conftest.err
  fi
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then :
  ac_retval=0
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1715

1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
	ac_retval=1
fi
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  as_fn_set_status $ac_retval

} # ac_fn_c_try_compile

# ac_fn_c_try_link LINENO
# -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_link ()
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1727
{
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  rm -f conftest.$ac_objext conftest$ac_exeext
  if { { ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
  (eval "$ac_link") 2>conftest.err
  ac_status=$?
  if test -s conftest.err; then
    grep -v '^ *+' conftest.err >conftest.er1
    cat conftest.er1 >&5
    mv -f conftest.er1 conftest.err
  fi
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then :
  ac_retval=0
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1756

1757
1758
1759
1760
1761
1762
1763
1764
1765
	ac_retval=1
fi
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  # interfere with the next link command; also delete a directory that is
  # left behind by Apple's compiler.  We do this before executing the actions.
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  as_fn_set_status $ac_retval
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1766

1767
} # ac_fn_c_try_link
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1768

1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
# ac_fn_c_try_cpp LINENO
# ----------------------
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_cpp ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  if { { ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  ac_status=$?
  if test -s conftest.err; then
    grep -v '^ *+' conftest.err >conftest.er1
    cat conftest.er1 >&5
    mv -f conftest.er1 conftest.err
  fi
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } > conftest.i && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then :
  ac_retval=0
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1798

1799
1800
1801
1802
    ac_retval=1
fi
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  as_fn_set_status $ac_retval
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1803

1804
} # ac_fn_c_try_cpp
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1805

1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
# -------------------------------------------------------
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
# the include files in INCLUDES and setting the cache variable VAR
# accordingly.
ac_fn_c_check_header_mongrel ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  if eval \${$3+:} false; then :
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; }
if eval \${$3+:} false; then :
  $as_echo_n "(cached) " >&6
fi
eval ac_res=\$$3
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
else
  # Is the header compilable?
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
$as_echo_n "checking $2 usability... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$4
#include <$2>
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1831
_ACEOF
1832
1833
1834
1835
1836
1837
1838
1839
if ac_fn_c_try_compile "$LINENO"; then :
  ac_header_compiler=yes
else
  ac_header_compiler=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
$as_echo "$ac_header_compiler" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1840

1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# Is the header present?
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
$as_echo_n "checking $2 presence... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include <$2>
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
  ac_header_preproc=yes
else
  ac_header_preproc=no
fi
rm -f conftest.err conftest.i conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
$as_echo "$ac_header_preproc" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1856

1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  yes:no: )
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    ;;
  no:yes:* )
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
( $as_echo "## ---------------------------- ##
## Report this to bertin@iap.fr ##
## ---------------------------- ##"
     ) | sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; }
if eval \${$3+:} false; then :
  $as_echo_n "(cached) " >&6
else
  eval "$3=\$ac_header_compiler"
fi
eval ac_res=\$$3
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
fi
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1894

1895
} # ac_fn_c_check_header_mongrel
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1896

1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
# ac_fn_c_try_run LINENO
# ----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
# that executables *can* be run.
ac_fn_c_try_run ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  if { { ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  { { case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; }; then :
  ac_retval=0
else
  $as_echo "$as_me: program exited with status $ac_status" >&5
       $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1930

1931
1932
1933
1934
1935
       ac_retval=$ac_status
fi
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  as_fn_set_status $ac_retval
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1936

1937
} # ac_fn_c_try_run
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1938

1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
# -------------------------------------------------------
# Tests whether HEADER exists and can be compiled using the include files in
# INCLUDES, setting the cache variable VAR accordingly.
ac_fn_c_check_header_compile ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; }
if eval \${$3+:} false; then :
  $as_echo_n "(cached) " >&6
else
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$4
#include <$2>
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1955
_ACEOF
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
if ac_fn_c_try_compile "$LINENO"; then :
  eval "$3=yes"
else
  eval "$3=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$3
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1967

1968
} # ac_fn_c_check_header_compile
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1969

1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
# ac_fn_c_check_func LINENO FUNC VAR
# ----------------------------------
# Tests whether FUNC exists, setting the cache variable VAR accordingly
ac_fn_c_check_func ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; }
if eval \${$3+:} false; then :
  $as_echo_n "(cached) " >&6
else
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $2 innocuous_$2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1986

1987
1988
1989
1990
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $2 (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1991

1992
1993
1994
1995
1996
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1997

1998
#undef $2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1999

2000
/* Override any GCC internal prototype to avoid an error.
For faster browsing, not all history is shown. View entire blame