Imported Upstream version 1.0.6
Andrew Caudwell
9 years ago
0 | 1.0.6: | |
1 | * Display invalid requests as having the path '???'. | |
2 | * Updated the boost autoconf macro. | |
3 | ||
0 | 4 | 1.0.5: |
1 | 5 | * Performance improvements. |
2 | 6 | * Multi-monitor support using SDL 2.0. |
0 | 0 | #! /bin/sh |
1 | 1 | # Attempt to guess a canonical system name. |
2 | # Copyright 1992-2013 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2013-06-10' | |
2 | # Copyright 1992-2014 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2014-03-23' | |
5 | 5 | |
6 | 6 | # This file is free software; you can redistribute it and/or modify it |
7 | 7 | # under the terms of the GNU General Public License as published by |
49 | 49 | GNU config.guess ($timestamp) |
50 | 50 | |
51 | 51 | Originally written by Per Bothner. |
52 | Copyright 1992-2013 Free Software Foundation, Inc. | |
52 | Copyright 1992-2014 Free Software Foundation, Inc. | |
53 | 53 | |
54 | 54 | This is free software; see the source for copying conditions. There is NO |
55 | 55 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
148 | 148 | LIBC=gnu |
149 | 149 | #endif |
150 | 150 | EOF |
151 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | |
151 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` | |
152 | 152 | ;; |
153 | 153 | esac |
154 | 154 | |
825 | 825 | *:MINGW*:*) |
826 | 826 | echo ${UNAME_MACHINE}-pc-mingw32 |
827 | 827 | exit ;; |
828 | i*:MSYS*:*) | |
828 | *:MSYS*:*) | |
829 | 829 | echo ${UNAME_MACHINE}-pc-msys |
830 | 830 | exit ;; |
831 | 831 | i*:windows32*:*) |
968 | 968 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` |
969 | 969 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } |
970 | 970 | ;; |
971 | or1k:Linux:*:*) | |
972 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
973 | exit ;; | |
974 | or32:Linux:*:*) | |
971 | openrisc*:Linux:*:*) | |
972 | echo or1k-unknown-linux-${LIBC} | |
973 | exit ;; | |
974 | or32:Linux:*:* | or1k*:Linux:*:*) | |
975 | 975 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
976 | 976 | exit ;; |
977 | 977 | padre:Linux:*:*) |
1259 | 1259 | if test "$UNAME_PROCESSOR" = unknown ; then |
1260 | 1260 | UNAME_PROCESSOR=powerpc |
1261 | 1261 | fi |
1262 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1263 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1264 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1265 | grep IS_64BIT_ARCH >/dev/null | |
1266 | then | |
1267 | case $UNAME_PROCESSOR in | |
1268 | i386) UNAME_PROCESSOR=x86_64 ;; | |
1269 | powerpc) UNAME_PROCESSOR=powerpc64 ;; | |
1270 | esac | |
1262 | if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then | |
1263 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1264 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1265 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1266 | grep IS_64BIT_ARCH >/dev/null | |
1267 | then | |
1268 | case $UNAME_PROCESSOR in | |
1269 | i386) UNAME_PROCESSOR=x86_64 ;; | |
1270 | powerpc) UNAME_PROCESSOR=powerpc64 ;; | |
1271 | esac | |
1272 | fi | |
1271 | 1273 | fi |
1274 | elif test "$UNAME_PROCESSOR" = i386 ; then | |
1275 | # Avoid executing cc on OS X 10.9, as it ships with a stub | |
1276 | # that puts up a graphical alert prompting to install | |
1277 | # developer tools. Any system running Mac OS X 10.7 or | |
1278 | # later (Darwin 11 and later) is required to have a 64-bit | |
1279 | # processor. This is not true of the ARM version of Darwin | |
1280 | # that Apple uses in portable devices. | |
1281 | UNAME_PROCESSOR=x86_64 | |
1272 | 1282 | fi |
1273 | 1283 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
1274 | 1284 | exit ;; |
1360 | 1370 | exit ;; |
1361 | 1371 | esac |
1362 | 1372 | |
1363 | eval $set_cc_for_build | |
1364 | cat >$dummy.c <<EOF | |
1365 | #ifdef _SEQUENT_ | |
1366 | # include <sys/types.h> | |
1367 | # include <sys/utsname.h> | |
1368 | #endif | |
1369 | main () | |
1370 | { | |
1371 | #if defined (sony) | |
1372 | #if defined (MIPSEB) | |
1373 | /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, | |
1374 | I don't know.... */ | |
1375 | printf ("mips-sony-bsd\n"); exit (0); | |
1376 | #else | |
1377 | #include <sys/param.h> | |
1378 | printf ("m68k-sony-newsos%s\n", | |
1379 | #ifdef NEWSOS4 | |
1380 | "4" | |
1381 | #else | |
1382 | "" | |
1383 | #endif | |
1384 | ); exit (0); | |
1385 | #endif | |
1386 | #endif | |
1387 | ||
1388 | #if defined (__arm) && defined (__acorn) && defined (__unix) | |
1389 | printf ("arm-acorn-riscix\n"); exit (0); | |
1390 | #endif | |
1391 | ||
1392 | #if defined (hp300) && !defined (hpux) | |
1393 | printf ("m68k-hp-bsd\n"); exit (0); | |
1394 | #endif | |
1395 | ||
1396 | #if defined (NeXT) | |
1397 | #if !defined (__ARCHITECTURE__) | |
1398 | #define __ARCHITECTURE__ "m68k" | |
1399 | #endif | |
1400 | int version; | |
1401 | version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; | |
1402 | if (version < 4) | |
1403 | printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); | |
1404 | else | |
1405 | printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); | |
1406 | exit (0); | |
1407 | #endif | |
1408 | ||
1409 | #if defined (MULTIMAX) || defined (n16) | |
1410 | #if defined (UMAXV) | |
1411 | printf ("ns32k-encore-sysv\n"); exit (0); | |
1412 | #else | |
1413 | #if defined (CMU) | |
1414 | printf ("ns32k-encore-mach\n"); exit (0); | |
1415 | #else | |
1416 | printf ("ns32k-encore-bsd\n"); exit (0); | |
1417 | #endif | |
1418 | #endif | |
1419 | #endif | |
1420 | ||
1421 | #if defined (__386BSD__) | |
1422 | printf ("i386-pc-bsd\n"); exit (0); | |
1423 | #endif | |
1424 | ||
1425 | #if defined (sequent) | |
1426 | #if defined (i386) | |
1427 | printf ("i386-sequent-dynix\n"); exit (0); | |
1428 | #endif | |
1429 | #if defined (ns32000) | |
1430 | printf ("ns32k-sequent-dynix\n"); exit (0); | |
1431 | #endif | |
1432 | #endif | |
1433 | ||
1434 | #if defined (_SEQUENT_) | |
1435 | struct utsname un; | |
1436 | ||
1437 | uname(&un); | |
1438 | ||
1439 | if (strncmp(un.version, "V2", 2) == 0) { | |
1440 | printf ("i386-sequent-ptx2\n"); exit (0); | |
1441 | } | |
1442 | if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ | |
1443 | printf ("i386-sequent-ptx1\n"); exit (0); | |
1444 | } | |
1445 | printf ("i386-sequent-ptx\n"); exit (0); | |
1446 | ||
1447 | #endif | |
1448 | ||
1449 | #if defined (vax) | |
1450 | # if !defined (ultrix) | |
1451 | # include <sys/param.h> | |
1452 | # if defined (BSD) | |
1453 | # if BSD == 43 | |
1454 | printf ("vax-dec-bsd4.3\n"); exit (0); | |
1455 | # else | |
1456 | # if BSD == 199006 | |
1457 | printf ("vax-dec-bsd4.3reno\n"); exit (0); | |
1458 | # else | |
1459 | printf ("vax-dec-bsd\n"); exit (0); | |
1460 | # endif | |
1461 | # endif | |
1462 | # else | |
1463 | printf ("vax-dec-bsd\n"); exit (0); | |
1464 | # endif | |
1465 | # else | |
1466 | printf ("vax-dec-ultrix\n"); exit (0); | |
1467 | # endif | |
1468 | #endif | |
1469 | ||
1470 | #if defined (alliant) && defined (i860) | |
1471 | printf ("i860-alliant-bsd\n"); exit (0); | |
1472 | #endif | |
1473 | ||
1474 | exit (1); | |
1475 | } | |
1476 | EOF | |
1477 | ||
1478 | $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && | |
1479 | { echo "$SYSTEM_NAME"; exit; } | |
1480 | ||
1481 | # Apollos put the system type in the environment. | |
1482 | ||
1483 | test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } | |
1484 | ||
1485 | # Convex versions that predate uname can use getsysinfo(1) | |
1486 | ||
1487 | if [ -x /usr/convex/getsysinfo ] | |
1488 | then | |
1489 | case `getsysinfo -f cpu_type` in | |
1490 | c1*) | |
1491 | echo c1-convex-bsd | |
1492 | exit ;; | |
1493 | c2*) | |
1494 | if getsysinfo -f scalar_acc | |
1495 | then echo c32-convex-bsd | |
1496 | else echo c2-convex-bsd | |
1497 | fi | |
1498 | exit ;; | |
1499 | c34*) | |
1500 | echo c34-convex-bsd | |
1501 | exit ;; | |
1502 | c38*) | |
1503 | echo c38-convex-bsd | |
1504 | exit ;; | |
1505 | c4*) | |
1506 | echo c4-convex-bsd | |
1507 | exit ;; | |
1508 | esac | |
1509 | fi | |
1510 | ||
1511 | 1373 | cat >&2 <<EOF |
1512 | 1374 | $0: unable to guess system type |
1513 | 1375 |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | # Copyright 1992-2013 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2013-08-10' | |
2 | # Copyright 1992-2014 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2014-09-11' | |
5 | 5 | |
6 | 6 | # This file is free software; you can redistribute it and/or modify it |
7 | 7 | # under the terms of the GNU General Public License as published by |
67 | 67 | version="\ |
68 | 68 | GNU config.sub ($timestamp) |
69 | 69 | |
70 | Copyright 1992-2013 Free Software Foundation, Inc. | |
70 | Copyright 1992-2014 Free Software Foundation, Inc. | |
71 | 71 | |
72 | 72 | This is free software; see the source for copying conditions. There is NO |
73 | 73 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
264 | 264 | | hexagon \ |
265 | 265 | | i370 | i860 | i960 | ia64 \ |
266 | 266 | | ip2k | iq2000 \ |
267 | | k1om \ | |
267 | 268 | | le32 | le64 \ |
268 | 269 | | lm32 \ |
269 | 270 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
281 | 282 | | mips64vr5900 | mips64vr5900el \ |
282 | 283 | | mipsisa32 | mipsisa32el \ |
283 | 284 | | mipsisa32r2 | mipsisa32r2el \ |
285 | | mipsisa32r6 | mipsisa32r6el \ | |
284 | 286 | | mipsisa64 | mipsisa64el \ |
285 | 287 | | mipsisa64r2 | mipsisa64r2el \ |
288 | | mipsisa64r6 | mipsisa64r6el \ | |
286 | 289 | | mipsisa64sb1 | mipsisa64sb1el \ |
287 | 290 | | mipsisa64sr71k | mipsisa64sr71kel \ |
288 | 291 | | mipsr5900 | mipsr5900el \ |
294 | 297 | | nds32 | nds32le | nds32be \ |
295 | 298 | | nios | nios2 | nios2eb | nios2el \ |
296 | 299 | | ns16k | ns32k \ |
297 | | open8 \ | |
298 | | or1k | or32 \ | |
300 | | open8 | or1k | or1knd | or32 \ | |
299 | 301 | | pdp10 | pdp11 | pj | pjl \ |
300 | 302 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
301 | 303 | | pyramid \ |
304 | | riscv32 | riscv64 \ | |
302 | 305 | | rl78 | rx \ |
303 | 306 | | score \ |
304 | 307 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
323 | 326 | c6x) |
324 | 327 | basic_machine=tic6x-unknown |
325 | 328 | ;; |
326 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) | |
329 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) | |
327 | 330 | basic_machine=$basic_machine-unknown |
328 | 331 | os=-none |
329 | 332 | ;; |
380 | 383 | | hexagon-* \ |
381 | 384 | | i*86-* | i860-* | i960-* | ia64-* \ |
382 | 385 | | ip2k-* | iq2000-* \ |
386 | | k1om-* \ | |
383 | 387 | | le32-* | le64-* \ |
384 | 388 | | lm32-* \ |
385 | 389 | | m32c-* | m32r-* | m32rle-* \ |
399 | 403 | | mips64vr5900-* | mips64vr5900el-* \ |
400 | 404 | | mipsisa32-* | mipsisa32el-* \ |
401 | 405 | | mipsisa32r2-* | mipsisa32r2el-* \ |
406 | | mipsisa32r6-* | mipsisa32r6el-* \ | |
402 | 407 | | mipsisa64-* | mipsisa64el-* \ |
403 | 408 | | mipsisa64r2-* | mipsisa64r2el-* \ |
409 | | mipsisa64r6-* | mipsisa64r6el-* \ | |
404 | 410 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
405 | 411 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
406 | 412 | | mipsr5900-* | mipsr5900el-* \ |
412 | 418 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ |
413 | 419 | | none-* | np1-* | ns16k-* | ns32k-* \ |
414 | 420 | | open8-* \ |
421 | | or1k*-* \ | |
415 | 422 | | orion-* \ |
416 | 423 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
417 | 424 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
821 | 828 | basic_machine=powerpc-unknown |
822 | 829 | os=-morphos |
823 | 830 | ;; |
831 | moxiebox) | |
832 | basic_machine=moxie-unknown | |
833 | os=-moxiebox | |
834 | ;; | |
824 | 835 | msdos) |
825 | 836 | basic_machine=i386-pc |
826 | 837 | os=-msdos |
1366 | 1377 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1367 | 1378 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
1368 | 1379 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1369 | | -uxpv* | -beos* | -mpeix* | -udk* \ | |
1380 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | |
1370 | 1381 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1371 | 1382 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1372 | 1383 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1373 | 1384 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1374 | 1385 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1375 | 1386 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1376 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) | |
1387 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) | |
1377 | 1388 | # Remember, each alternative MUST END IN *, to match a version number. |
1378 | 1389 | ;; |
1379 | 1390 | -qnx*) |
1591 | 1602 | mips*-*) |
1592 | 1603 | os=-elf |
1593 | 1604 | ;; |
1594 | or1k-*) | |
1595 | os=-elf | |
1596 | ;; | |
1597 | 1605 | or32-*) |
1598 | 1606 | os=-coff |
1599 | 1607 | ;; |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for Logstalgia 1.0.5. | |
2 | # Generated by GNU Autoconf 2.69 for Logstalgia 1.0.6. | |
3 | 3 | # |
4 | 4 | # Report bugs to <acaudwell@gmail.com>. |
5 | 5 | # |
579 | 579 | # Identity of this package. |
580 | 580 | PACKAGE_NAME='Logstalgia' |
581 | 581 | PACKAGE_TARNAME='logstalgia' |
582 | PACKAGE_VERSION='1.0.5' | |
583 | PACKAGE_STRING='Logstalgia 1.0.5' | |
582 | PACKAGE_VERSION='1.0.6' | |
583 | PACKAGE_STRING='Logstalgia 1.0.6' | |
584 | 584 | PACKAGE_BUGREPORT='acaudwell@gmail.com' |
585 | 585 | PACKAGE_URL='' |
586 | 586 | |
1330 | 1330 | # Omit some internal or obsolete options to make the list less imposing. |
1331 | 1331 | # This message is too long to be a string in the A/UX 3.1 sh. |
1332 | 1332 | cat <<_ACEOF |
1333 | \`configure' configures Logstalgia 1.0.5 to adapt to many kinds of systems. | |
1333 | \`configure' configures Logstalgia 1.0.6 to adapt to many kinds of systems. | |
1334 | 1334 | |
1335 | 1335 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1336 | 1336 | |
1404 | 1404 | |
1405 | 1405 | if test -n "$ac_init_help"; then |
1406 | 1406 | case $ac_init_help in |
1407 | short | recursive ) echo "Configuration of Logstalgia 1.0.5:";; | |
1407 | short | recursive ) echo "Configuration of Logstalgia 1.0.6:";; | |
1408 | 1408 | esac |
1409 | 1409 | cat <<\_ACEOF |
1410 | 1410 | |
1528 | 1528 | test -n "$ac_init_help" && exit $ac_status |
1529 | 1529 | if $ac_init_version; then |
1530 | 1530 | cat <<\_ACEOF |
1531 | Logstalgia configure 1.0.5 | |
1531 | Logstalgia configure 1.0.6 | |
1532 | 1532 | generated by GNU Autoconf 2.69 |
1533 | 1533 | |
1534 | 1534 | Copyright (C) 2012 Free Software Foundation, Inc. |
2140 | 2140 | This file contains any messages produced by compilers while |
2141 | 2141 | running configure, to aid debugging if configure makes a mistake. |
2142 | 2142 | |
2143 | It was created by Logstalgia $as_me 1.0.5, which was | |
2143 | It was created by Logstalgia $as_me 1.0.6, which was | |
2144 | 2144 | generated by GNU Autoconf 2.69. Invocation command line was |
2145 | 2145 | |
2146 | 2146 | $ $0 $@ |
3005 | 3005 | |
3006 | 3006 | # Define the identity of the package. |
3007 | 3007 | PACKAGE='logstalgia' |
3008 | VERSION='1.0.5' | |
3008 | VERSION='1.0.6' | |
3009 | 3009 | |
3010 | 3010 | |
3011 | 3011 | cat >>confdefs.h <<_ACEOF |
7002 | 7002 | |
7003 | 7003 | libsubdirs="lib" |
7004 | 7004 | ax_arch=`uname -m` |
7005 | if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then | |
7005 | case $ax_arch in | |
7006 | x86_64|ppc64|s390x|sparc64|aarch64) | |
7006 | 7007 | libsubdirs="lib64 lib lib64" |
7007 | fi | |
7008 | ;; | |
7009 | esac | |
7010 | ||
7011 | ||
7012 | libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs" | |
7013 | ||
7014 | case ${host_cpu} in | |
7015 | i?86) | |
7016 | libsubdirs="lib/i386-${host_os} $libsubdirs" | |
7017 | ;; | |
7018 | esac | |
7008 | 7019 | |
7009 | 7020 | if test "$ac_boost_path" != ""; then |
7010 | 7021 | BOOST_CPPFLAGS="-I$ac_boost_path/include" |
7819 | 7830 | # report actual input values of CONFIG_FILES etc. instead of their |
7820 | 7831 | # values after options handling. |
7821 | 7832 | ac_log=" |
7822 | This file was extended by Logstalgia $as_me 1.0.5, which was | |
7833 | This file was extended by Logstalgia $as_me 1.0.6, which was | |
7823 | 7834 | generated by GNU Autoconf 2.69. Invocation command line was |
7824 | 7835 | |
7825 | 7836 | CONFIG_FILES = $CONFIG_FILES |
7876 | 7887 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7877 | 7888 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
7878 | 7889 | ac_cs_version="\\ |
7879 | Logstalgia config.status 1.0.5 | |
7890 | Logstalgia config.status 1.0.6 | |
7880 | 7891 | configured by $0, generated by GNU Autoconf 2.69, |
7881 | 7892 | with options \\"\$ac_cs_config\\" |
7882 | 7893 |
2 | 2 | |
3 | 3 | AC_PREREQ(2.61) |
4 | 4 | |
5 | AC_INIT(Logstalgia, 1.0.5, [acaudwell@gmail.com]) | |
5 | AC_INIT(Logstalgia, 1.0.6, [acaudwell@gmail.com]) | |
6 | 6 | AC_CONFIG_AUX_DIR([build-aux]) |
7 | 7 | AC_CONFIG_SRCDIR([src/main.cpp]) |
8 | 8 |
32 | 32 | # and this notice are preserved. This file is offered as-is, without any |
33 | 33 | # warranty. |
34 | 34 | |
35 | #serial 20 | |
35 | #serial 23 | |
36 | 36 | |
37 | 37 | AC_DEFUN([AX_BOOST_BASE], |
38 | 38 | [ |
90 | 90 | dnl are found, e.g. when only header-only libraries are installed! |
91 | 91 | libsubdirs="lib" |
92 | 92 | ax_arch=`uname -m` |
93 | if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then | |
93 | case $ax_arch in | |
94 | x86_64|ppc64|s390x|sparc64|aarch64) | |
94 | 95 | libsubdirs="lib64 lib lib64" |
95 | fi | |
96 | ;; | |
97 | esac | |
98 | ||
99 | dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give | |
100 | dnl them priority over the other paths since, if libs are found there, they | |
101 | dnl are almost assuredly the ones desired. | |
102 | AC_REQUIRE([AC_CANONICAL_HOST]) | |
103 | libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs" | |
104 | ||
105 | case ${host_cpu} in | |
106 | i?86) | |
107 | libsubdirs="lib/i386-${host_os} $libsubdirs" | |
108 | ;; | |
109 | esac | |
96 | 110 | |
97 | 111 | dnl first we check the system location for boost libraries |
98 | 112 | dnl this location ist chosen if boost libraries are installed with the --layout=system option |
137 | 137 | if(pid == "-") pid = ""; |
138 | 138 | if(referrer == "-") referrer = ""; |
139 | 139 | |
140 | if(hostname.size()==0) return false; | |
140 | if(hostname.empty()) return false; | |
141 | 141 | |
142 | 142 | if(settings.mask_hostnames) { |
143 | 143 | hostname = maskHostname(hostname); |
144 | 144 | } |
145 | 145 | |
146 | if(path.size()==0) return false; | |
146 | if(path.empty()) return false; | |
147 | 147 | if(timestamp == 0) return false; |
148 | 148 | |
149 | 149 | return true; |
22 | 22 | const char* ls_ncsa_months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug" , "Sep", "Oct", "Nov", "Dec" }; |
23 | 23 | Regex ls_ncsa_entry_start("^(?:([^ ]+) )?([^ ]+) +[^ ]+ +([^ ]+) +\\[(.*?)\\] +(.*)$"); |
24 | 24 | Regex ls_ncsa_entry_date("(\\d+)/(\\d+|[A-Za-z]+)/(\\d+):(\\d+):(\\d+):(\\d+) ([+-])(\\d+)"); |
25 | Regex ls_ncsa_entry_request("\"([^ ]+) +([^ ]+) +([^ ]+)\" +([^ ]+) +([^\\s+]+)(.*)"); | |
25 | Regex ls_ncsa_entry_request("\"(?:([^ ]+) +([^ ]+) +([^ ]+)|(?:[^\"]*))\" +([^ ]+) +([^\\s+]+)(.*)"); | |
26 | 26 | Regex ls_ncsa_entry_agent("(?: +\"([^\"]+)\" +\"([^\"]+)\")?( .+)?"); |
27 | 27 | Regex ls_ncsa_extra_field("^ +(\"[^\"]*\"|[^ ]+)"); |
28 | 28 | |
112 | 112 | } |
113 | 113 | |
114 | 114 | // entry.method = matches[0]; |
115 | entry.path = matches[1]; | |
115 | entry.path = (!matches[1].empty()) ? matches[1] : "???"; | |
116 | 116 | // entry.protocol = matches[2]; |
117 | 117 | |
118 | entry.response_code = matches[3].c_str(); | |
118 | entry.response_code = matches[3]; | |
119 | 119 | entry.response_size = atol(matches[4].c_str()); |
120 | 120 | |
121 | 121 | if(matches.size() > 5) { |