home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 August / PCWorld_2001-08_cd.bin / Komunikace / phptriad / phptriadsetup2-11.exe / php / pear / scripts / php-config.in < prev    next >
Text File  |  2001-01-10  |  450b  |  24 lines

  1. #! /bin/sh
  2.  
  3. prefix="@prefix@"
  4. includedir="@includedir@/php"
  5. includes="-I$includedir -I$includedir/main -I$includedir/Zend"
  6. if test '@TSRM_DIR@' != ''; then
  7.     includes="$includes -I$includedir/TSRM"
  8. fi
  9. extension_dir='@EXTENSION_DIR@'
  10.  
  11. case "$1" in
  12. --prefix)
  13.     echo $prefix;;
  14. --includes)
  15.     echo $includes;;
  16. --extension-dir)
  17.     echo $extension_dir;;
  18. *)
  19.     echo "Usage: $0 [--prefix|--includes|--extension-dir]"
  20.     exit 1;;
  21. esac
  22.  
  23. exit 0
  24.