]> git.pld-linux.org Git - packages/php4.git/commitdiff
- add also --include-dir support and print usage to stderr
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 23 Jan 2008 22:15:45 +0000 (22:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php4-config-dir.patch -> 1.2

php4-config-dir.patch

index f8dc12ca56cdbd6a70f3231b4d116d4ef0ed9abb..b34b7e0b42d21bcad78897370be06cc228eda964 100644 (file)
@@ -1,5 +1,5 @@
---- php-4.4.4/scripts/php-config.in~   2006-12-14 01:23:45.544638440 +0200
-+++ php-4.4.4/scripts/php-config.in    2006-12-14 01:25:49.027413256 +0200
+--- php-4.4.4/scripts/php-config.in    2006-12-14 01:25:49.027413256 +0200
++++ php-4.4.8/scripts/php-config.in    2008-01-24 00:13:03.630209294 +0200
 @@ -1,6 +1,7 @@
  #! /bin/sh
  
@@ -8,8 +8,12 @@
  version="@PHP_VERSION@"
  includedir="@includedir@/php"
  includes="-I$includedir -I$includedir/main -I$includedir/TSRM -I$includedir/Zend"
-@@ -19,10 +20,12 @@
+@@ -17,12 +18,16 @@
+       echo $ldflags;;
+ --libs)
        echo $libs;;
++--include-dir)
++      echo $include_dir;;
  --extension-dir)
        echo $extension_dir;;
 +--sysconfdir)
@@ -18,7 +22,7 @@
        echo $version;;
  *)
 -      echo "Usage: $0 [--prefix|--includes|--ldflags|--libs|--extension-dir|--version]"
-+      echo "Usage: $0 [--prefix|--includes|--ldflags|--libs|--extension-dir|--sysconfdir|--version]"
++      echo >&2 "Usage: $0 [--prefix|--includes|--ldflags|--libs|--include-dir|--extension-dir|--sysconfdir|--version]"
        exit 1;;
  esac
  
This page took 0.036076 seconds and 4 git commands to generate.