Skip to content
Snippets Groups Projects
configure 351 KiB
Newer Older
  • Learn to ignore specific revisions
  • Kenneth Johansson's avatar
    Kenneth Johansson committed
    1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 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 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 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 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 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 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531
    cache_file=/dev/null
    exec_prefix=NONE
    no_create=
    no_recursion=
    prefix=NONE
    program_prefix=NONE
    program_suffix=NONE
    program_transform_name=s,x,x,
    silent=
    site=
    srcdir=
    verbose=
    x_includes=NONE
    x_libraries=NONE
    
    # Installation directory options.
    # These are left unexpanded so users can "make install exec_prefix=/foo"
    # and all the variables that are supposed to be based on exec_prefix
    # by default will actually change.
    # Use braces instead of parens because sh, perl, etc. also accept them.
    # (The list follows the same order as the GNU Coding Standards.)
    bindir='${exec_prefix}/bin'
    sbindir='${exec_prefix}/sbin'
    libexecdir='${exec_prefix}/libexec'
    datarootdir='${prefix}/share'
    datadir='${datarootdir}'
    sysconfdir='${prefix}/etc'
    sharedstatedir='${prefix}/com'
    localstatedir='${prefix}/var'
    includedir='${prefix}/include'
    oldincludedir='/usr/include'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    infodir='${datarootdir}/info'
    htmldir='${docdir}'
    dvidir='${docdir}'
    pdfdir='${docdir}'
    psdir='${docdir}'
    libdir='${exec_prefix}/lib'
    localedir='${datarootdir}/locale'
    mandir='${datarootdir}/man'
    
    ac_prev=
    ac_dashdash=
    for ac_option
    do
      # If the previous option needs an argument, assign it.
      if test -n "$ac_prev"; then
        eval $ac_prev=\$ac_option
        ac_prev=
        continue
      fi
    
      case $ac_option in
      *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
      *=)   ac_optarg= ;;
      *)    ac_optarg=yes ;;
      esac
    
      # Accept the important Cygnus configure options, so we can diagnose typos.
    
      case $ac_dashdash$ac_option in
      --)
        ac_dashdash=yes ;;
    
      -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 ;;
    
      -datadir | --datadir | --datadi | --datad)
        ac_prev=datadir ;;
      -datadir=* | --datadir=* | --datadi=* | --datad=*)
        datadir=$ac_optarg ;;
    
      -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
      | --dataroo | --dataro | --datar)
        ac_prev=datarootdir ;;
      -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
      | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
        datarootdir=$ac_optarg ;;
    
      -disable-* | --disable-*)
        ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
        # Reject names that are not valid shell variable names.
        expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
          as_fn_error $? "invalid feature name: $ac_useropt"
        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 ;;
    
      -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 ;;
    
      -enable-* | --enable-*)
        ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
        # Reject names that are not valid shell variable names.
        expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
          as_fn_error $? "invalid feature name: $ac_useropt"
        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 ;;
    
      -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 ;;
    
      -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
        ac_prev=htmldir ;;
      -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
      | --ht=*)
        htmldir=$ac_optarg ;;
    
      -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 ;;
    
      -localedir | --localedir | --localedi | --localed | --locale)
        ac_prev=localedir ;;
      -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
        localedir=$ac_optarg ;;
    
      -localstatedir | --localstatedir | --localstatedi | --localstated \
      | --localstate | --localstat | --localsta | --localst | --locals)
        ac_prev=localstatedir ;;
      -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
      | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
        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 ;;
    
      -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 ;;
    
      -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-*)
        ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
        # Reject names that are not valid shell variable names.
        expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
          as_fn_error $? "invalid package name: $ac_useropt"
        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 ;;
    
      -without-* | --without-*)
        ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
        # Reject names that are not valid shell variable names.
        expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
          as_fn_error $? "invalid package name: $ac_useropt"
        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 ;;
    
      --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 ;;
    
      -*) as_fn_error $? "unrecognized option: \`$ac_option'
    Try \`$0 --help' for more information"
        ;;
    
      *=*)
        ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
        # Reject names that are not valid shell variable names.
        case $ac_envvar in #(
          '' | [0-9]* | *[!_$as_cr_alnum]* )
          as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
        esac
        eval $ac_envvar=\$ac_optarg
        export $ac_envvar ;;
    
      *)
        # FIXME: should be removed in autoconf 3.0.
        $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
        expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
          $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
        : "${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'`
      as_fn_error $? "missing argument to $ac_option"
    fi
    
    if test -n "$ac_unrecognized_opts"; then
      case $enable_option_checking in
        no) ;;
        fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
        *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
      esac
    fi
    
    # Check all directory arguments for consistency.
    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
    do
      eval ac_val=\$$ac_var
      # 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.
      case $ac_val in
        [\\/$]* | ?:[\\/]* )  continue;;
        NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
      esac
      as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    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
      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
    
    
    ac_pwd=`pwd` && test -n "$ac_pwd" &&
    ac_ls_di=`ls -di .` &&
    ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
      as_fn_error $? "working directory cannot be determined"
    test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
      as_fn_error $? "pwd does not report name of working directory"
    
    
    # Find the source files, if location was not specified.
    if test -z "$srcdir"; then
      ac_srcdir_defaulted=yes
      # Try the directory containing this script, then the parent directory.
      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" |
        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)[^/].*/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\).*/{
    	    s//\1/
    	    q
    	  }
    	  s/.*/./; q'`
      srcdir=$ac_confdir
      if test ! -r "$srcdir/$ac_unique_file"; then
        srcdir=..
      fi
    else
      ac_srcdir_defaulted=no
    fi
    if test ! -r "$srcdir/$ac_unique_file"; then
      test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
      as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    fi
    ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    ac_abs_confdir=`(
    	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    	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
    
    #
    # 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
    
    \`configure' configures DSL CPE Control application 4.21.6.2 to adapt to many kinds of systems.
    
    Kenneth Johansson's avatar
    Kenneth Johansson committed
    
    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
                              [$ac_default_prefix]
      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                              [PREFIX]
    
    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:
      --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/dsl_cpe_control]
      --htmldir=DIR           html documentation [DOCDIR]
      --dvidir=DIR            dvi documentation [DOCDIR]
      --pdfdir=DIR            pdf documentation [DOCDIR]
      --psdir=DIR             ps documentation [DOCDIR]
    _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
    _ACEOF
    fi
    
    if test -n "$ac_init_help"; then
      case $ac_init_help in
    
         short | recursive ) echo "Configuration of DSL CPE Control application 4.21.6.2:";;
    
    Kenneth Johansson's avatar
    Kenneth Johansson committed
       esac
      cat <<\_ACEOF
    
    Optional Features:
      --disable-option-checking  ignore unrecognized --enable/--with options
      --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
      --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
      --enable-silent-rules   less verbose build output (undo: "make V=1")
      --disable-silent-rules  verbose build output (undo: "make V=0")
      --enable-dependency-tracking
                              do not reject slow dependency extractors
      --disable-dependency-tracking
                              speeds up one-time build
      --enable-danube         Add DANUBE Family support.
      --enable-vrx            Add VRX support.
      --enable-vrx-device=vr9 | vr10 | vr10_320 | vr11
                              Select VRX Device
      --enable-model=model    Select configure model
                              (lite|footprint|typical|full|debug)
      --enable-debug,Enable debug info
    
    
      --enable-add-appl-cflags=x
                              Set add appl cflags
      --enable-add-appl-ldflags=x
                              Set add appl ldflags
      --enable-add_ext_appl_cflags=x
                              Set add external appl cflags
      --enable-static         Enable static linking of the application
      --enable-driver-include=-I/path/to/your/driver
                              Set the DSL DRIVER driver include path
      --enable-device-driver-include=-I/path/to/your/driver
                              Set the DSL DEVICE DRIVER driver include path
      --enable-ifxos          Include IFXOS support
      --enable-ifxos-library=-L/path/to/your/lib_ifxos/src
                              Set the lib_ifxos library path. In this location the
                              libifxos.a should be found
    
    Oussama Ghorbel's avatar
    Oussama Ghorbel committed
      --enable-libjson-c-include= -I/path/to/your/libjson-c/include
                              Set the JSON C include path
      --enable-libjson-c-library= -L/path/to/your/libjson-c/library
                              Set the JSON C library path
    
    Kenneth Johansson's avatar
    Kenneth Johansson committed
      --enable-ifxos-include=-I/path/to/your/lib_ifxos/src/include
                              Set the lib_ifxos include path.
      --enable-debug-prints=level
                              Enable debug printouts (default:
                              yes/err|none/no|prn|err|wrn|msg|local)
    
    Oussama Ghorbel's avatar
    Oussama Ghorbel committed
      --enable-libjson-c-support=x
                              Enable JSON parsing support.
    
    Kenneth Johansson's avatar
    Kenneth Johansson committed
      --enable-dsl-fw-request Include FW request support
      --enable-deprecated     Include deprecated functions
      --enable-device-exception-codes
                              Include Device Exception Codes
      --enable-dsl-event-polling
                              Include Event Polling support
      --enable-dsl-misc-line-status
                              Include Misc Line Status support
      --enable-adsl-trace     Include showtime event logging support
      --enable-dsl-config-get Include configuration get support
      --enable-dsl-filesystem Include filesystem support
      --enable-dsl-system-interface
                              Include System Interface configuration support
      --enable-dsl-resource-statistics
                              Include Resource Statistics support
      --enable-dsl-g997-line-inventory
                              Include G997 Line Inventory support
      --enable-dsl-framing-parameters
                              Include Framing Parameters support
      --enable-dsl-g997-framing-parameters
                              Include G997 Framing Parameters support
      --enable-dsl-g997-per-tone
                              Include G997 per tone values support
      --enable-dsl-g997-status
                              Include G997 status support
      --enable-dsl-g997-alarm Include G997 alarm support
      --enable-dsl-delt       Include DELT support
      --enable-dsl-filter-detection
                              Include Filter Detection support
      --enable-dsl-pm         Include DSL PM support
      --enable-dsl-pm-config  Include PM config support
      --enable-dsl-pm-channel-counters
                              Include DSL PM channel counters support
      --enable-dsl-pm-channel-ext-counters
                              Include DSL PM channel extended counters support
      --enable-dsl-pm-datapath-counters
                              Include DSL PM datapath counters support
      --enable-dsl-pm-retx-counters
                              Include DSL PM retransmission counters support
      --enable-dsl-pm-datapath-failure-counters
                              Include DSL PM datapath failure counters support
      --enable-dsl-pm-line-counters
                              Include DSL PM line counters support
      --enable-dsl-pm-line-event-showtime-counters
                              Include DSL PM line event showtime counters support
      --enable-dsl-pm-channel-thresholds
                              Include DSL PM channel thresholds support
      --enable-dsl-pm-datapath-thresholds
                              Include DSL PM datapath thresholds support
      --enable-dsl-pm-retx-thresholds
                              Include DSL PM retransmission thresholds support
      --enable-dsl-pm-line-thresholds
                              Include DSL PM line thresholds support
      --enable-dsl-pm-total   Include DSL PM total counters support
      --enable-dsl-pm-history Include DSL PM history support
      --enable-dsl-pm-showtime
                              Include DSL PM showtime counters support
      --enable-dsl-pm-optional-parameters
                              Include DSL PM optional parameters support
      --enable-cmv-scripts    Enable CMV scripts parser support.
      --enable-cmv-scripts-math
                              Enable CMV scripts math support.
      --enable-script-notification
                              Enable script notification support.
      --enable-cli-support    Enable CLI support.
      --enable-cli-autogen-support
                              Enable Autogen CLI support.
      --enable-adsl-mib-support
                              Enable MIB support.
      --enable-debug-tool-interface
                              Include DSL TCP debug support
      --enable-dti            Include DTI support
      --enable-dti-include= -I/path/to/your/DTI/include
                              Set the DTI include path
      --enable-dti-library= -L/path/to/your/DTI/library
                              Set the DTI library path. In this location the
                              libdti_agent.a should be found
      --enable-pilot-tones-status
                              Pilot Tones Status support
      --enable-dsl-ceoc       Include DSL CEOC support
      --enable-real-time-trace
                              Include DSL RTT support
      --enable-debug-logger-support=x
                              Enable debug logger support
      --enable-dti-agent-st-alone-support=x
                              Enable debug logger support
    
    Oussama Ghorbel's avatar
    Oussama Ghorbel committed
      --enable-safec-support=x
                              Enable SAFE C support
      --enable-safec-include= -I./STAGING_DIR/usr/include
                              Set the SAFE C include path
      --enable-safec-library= -L./STAGING_DIR/usr/lib
                              Set the SAFE C library path
    
    Kenneth Johansson's avatar
    Kenneth Johansson committed
    
    Optional Packages:
      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
      --with-dbg-netlink-id=value
                              Debug netlink ID number.
    
    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>
      LIBS        libraries to pass to the linker, e.g. -l<library>
      CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                  you have headers in a nonstandard directory <include dir>
      CPP         C preprocessor
    
    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 the package provider.
    _ACEOF
    ac_status=$?
    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
        test -d "$ac_dir" ||
          { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
          continue
        ac_builddir=.
    
    case "$ac_dir" in
    .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    *)
      ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
      # A ".." for each directory in $ac_dir_suffix.
      ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
      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
    
    case $srcdir in
      .)  # We are building in place.
        ac_srcdir=.
        ac_top_srcdir=$ac_top_builddir_sub
        ac_abs_top_srcdir=$ac_pwd ;;
      [\\/]* | ?:[\\/]* )  # Absolute name.
        ac_srcdir=$srcdir$ac_dir_suffix;
        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 ;;
    esac
    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
        else
          $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
        fi || ac_status=$?
        cd "$ac_pwd" || { ac_status=$?; break; }
      done
    fi
    
    test -n "$ac_init_help" && exit $ac_status
    if $ac_init_version; then
      cat <<\_ACEOF
    
    DSL CPE Control application configure 4.21.6.2
    
    Kenneth Johansson's avatar
    Kenneth Johansson committed
    generated by GNU Autoconf 2.69
    
    Copyright (C) 2012 Free Software Foundation, Inc.
    This configure script is free software; the Free Software Foundation
    gives unlimited permission to copy, distribute and modify it.
    _ACEOF
      exit
    fi
    
    ## ------------------------ ##
    ## Autoconf initialization. ##
    ## ------------------------ ##
    
    # 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
    
    	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_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
    
        ac_retval=1
    fi
      eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
      as_fn_set_status $ac_retval
    
    } # ac_fn_c_try_cpp
    
    # 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
    
           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
    
    } # ac_fn_c_try_run
    
    # 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>
    _ACEOF
    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; }
    
    # 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