Ticket #38453: patch-configure.diff
File patch-configure.diff, 3.1 KB (added by zan@…, 12 years ago) |
---|
-
configure
old new 261 261 PCRE_PATH="" 262 262 PCRE_IPATH="" 263 263 fi 264 264 #@@CUT_POSTGRES 265 265 echo "Checking for Postgres (libpq.so, libpq-fe.h) ..." 266 266 for i in $LIBDIRS ; do 267 267 if [ "X" = "X$POSTGRES_PATH" ]; then … … 307 307 POSTGRES_PATH="" 308 308 POSTGRES_IPATH="" 309 309 fi 310 310 #CUT_POSTGRES@@ 311 #@@CUT_SVN 311 312 echo "Checking for SVN (libsvn_client-1 libapr-1.so libaprutil-1.so) ..." 312 313 for i in $LIBDIRS ; do 313 314 if [ "X" = "X$SVN_PATH" ]; then … … 383 384 if [ "X" = "X$SVN_PATH" -o "X" = "X$APR_PATH" ]; then 384 385 echo " ... NOT found, module svn disabled" 385 386 fi 386 387 #CUT_SVN@@ 388 #@@CUT_FB 387 389 echo "Checking for firebird (libfbclient.so) ..." 388 390 for i in $LIBDIRS ; do 389 391 if [ "X" = "X$FIREBIRD_PATH" ]; then … … 419 421 FIREBIRD_PATH="" 420 422 FIREBIRD_IPATH="" 421 423 fi 422 424 #CUT_FB@@ 425 #@@CUT_MYSQLA 423 426 echo "Checking for MYSQL client (libmysqlclient.so, math.h) ..." 424 427 for i in $LIBDIRS ; do 425 428 if [ "X" = "X$MYSQL_PATH" ]; then … … 447 450 fi 448 451 fi 449 452 done 453 #CUT_MYSQLA@@ 450 454 MATH="" 451 455 if [ -f "/usr/include/math.h" ]; then 452 456 MATH="-DHAVE_MATH_H" 457 #@@CUT_MYSQLB 453 458 if [ -n "$MYSQL_PATH" -a -n "$MYSQL_IPATH" -a -n "$MATH" ]; then 454 459 echo " ... found" 455 460 else … … 459 464 fi 460 465 else 461 466 echo " ... math.h not found, module Mysql disabled" 467 #CUT_MYSQLB@@ 462 468 fi 469 #@@CUT_AFP 463 470 echo "Checking for AFP (libafpclient.so) ..." 464 471 for i in $LIBDIRS ; do 465 472 if [ "X" = "X$AFP_PATH" ]; then … … 495 502 AFP_PATH="" 496 503 AFP_IPATH="" 497 504 fi 498 505 #CUT_AFP@@ 506 #@@CUT_NCP 499 507 echo "Checking for NCP (libncp.so / nwcalls.h) ..." 500 508 for i in $LIBDIRS ; do 501 509 if [ "X" = "X$NCP_PATH" ]; then … … 531 539 NCP_PATH="" 532 540 NCP_IPATH="" 533 541 fi 534 542 #CUT_NCP@@ 543 #@@CUT_SAP 535 544 echo "Checking for SAP/R3 (librfc/saprfc.h) ..." 536 545 for i in $LIBDIRS ; do 537 546 if [ "X" = "X$SAPR3_PATH" ]; then … … 569 578 if [ "$SAPR3_IPATH" = "/usr/include" ]; then 570 579 SAPR3_IPATH="" 571 580 fi 572 581 #CUT_SAP@@ 573 582 echo "Checking for libssh (libssh/libssh.h) ..." 574 583 for i in $LIBDIRS ; do 575 584 if [ "X" = "X$SSH_PATH" ]; then … … 650 659 done 651 660 fi 652 661 653 662 #@@CUT_ORACLE 654 663 echo "Checking for Oracle (libocci.so libclntsh.so / oci.h and libaio.so) ..." 655 664 #assume if we find oci.h other headers should also be in that dir 656 665 #for libs we will test the 2 … … 743 752 ORACLE_PATH="" 744 753 ORACLE_IPATH="" 745 754 fi 746 755 #CUT_ORACLE@@ 747 756 748 757 if [ "X" = "X$XHYDRA_SUPPORT" ]; then 749 758 echo "Checking for GUI req's (pkg-config, gtk+-2.0) ..." … … 938 947 if [ -n "$RESOLV_PATH" ]; then 939 948 XLIBS="$XLIBS -lresolv" 940 949 fi 941 950 #@@CUT_KRB 942 951 if [ -d /usr/kerberos/include ]; then 943 952 XIPATHS="$XIPATHS -I/usr/kerberos/include" 944 953 fi 945 954 #CUT_KRB@@ 946 955 if [ "X" = "X$PREFIX" ]; then 947 956 PREFIX="/usr/local" 948 957 fi 949 958 950 if [ "X" = "X$XHYDRA_SUPPORT" ]; then959 if [ "X" = "X$XHYDRA_SUPPORT" -o "Xdisable" = "X$XHYDRA_SUPPORT" ]; then 951 960 XHYDRA_SUPPORT="" 952 961 else 953 962 XHYDRA_SUPPORT="xhydra"