From: <al...@us...> - 2006-08-16 16:35:45
|
Revision: 557 Author: allenb Date: 2006-08-16 08:16:08 -0700 (Wed, 16 Aug 2006) ViewCVS: http://svn.sourceforge.net/xml-cppdom/?rev=557&view=rev Log Message: ----------- Remove old -config .in file. Removed Paths: ------------- trunk/cppdom-config.in Deleted: trunk/cppdom-config.in =================================================================== --- trunk/cppdom-config.in 2006-08-12 22:04:30 UTC (rev 556) +++ trunk/cppdom-config.in 2006-08-16 15:16:08 UTC (rev 557) @@ -1,136 +0,0 @@ -#!/bin/sh - -cppdom_extra_cxxflags="@cppdom_extra_cxxflags@" -cppdom_extra_include_dirs="@cppdom_extra_include_dirs@" - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -prefix_set='no' -exec_prefix_set='no' -print_all='no' -use_linker='no' - -usage() -{ - if test "x$2" != "x" ; then - echo "Unrecognized option '$2'" - fi - - cat <<EOF -Usage: cppdom-config [OPTIONS] -Options: - [--basedir] Use \$CPPDOM_BASE_DIR when printing paths - [--prefix[=DIR]] Print the installation prefix or set an - alternate prefix to use when printing paths - [--exec-prefix[=DIR]] Print the executable prefix or set an - alternate executable prefix to use when - printing paths - [--version] Print the installed CppDom's version number - [--cxxflags] Print the CppDom-specific flags for the C++ - compiler - [--libs] Print the CppDom-specific libraries - [--all] Print all the flags used for compiling or - linking (depending on other options) -EOF - - exit $1 -} - -if test $# -eq 0; then - usage 1 1>&2 -fi - -while test $# -gt 0; do - case "$1" in - -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) optarg= ;; - esac - - case $1 in - --help) - usage 0 1>&2 - ;; - --all) - print_all='yes' - ;; - --basedir) - use_base_dir=yes - ;; - --prefix=*) - prefix=$optarg - prefix_set='yes' - - if test $exec_prefix_set = no ; then - exec_prefix=$optarg - fi - ;; - --prefix) - echo_prefix=yes - ;; - --exec-prefix=*) - exec_prefix=$optarg - exec_prefix_set=yes - ;; - --exec-prefix) - echo_exec_prefix=yes - ;; - --version) - echo @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ - ;; - --cxxflags) - echo_cxxflags=yes - ;; - --libs) - echo_libs=yes - ;; - *) - usage 1 1>&2 - ;; - esac - shift -done - -# If we are using $CPPDOM_BASE_DIR, overwrite $prefix and $exec_prefix unless -# they were set explicitly on the command line. -if test "$use_base_dir" = "yes" ; then - if test "$prefix_set" = "no" ; then - prefix="$CPPDOM_BASE_DIR" - fi - - if test "$exec_prefix_set" = "no" ; then - exec_prefix="$CPPDOM_BASE_DIR" - fi -fi - -if test "$echo_prefix" = "yes"; then - echo $prefix -fi - -if test "$echo_exec_prefix" = "yes"; then - echo $exec_prefix -fi - -if test "$echo_cxxflags" = "yes"; then - if [ "x$cppdom_extra_include_dirs" != "x" ]; then - for dir in $cppdom_extra_include_dirs ; do - cppdom_extra_includes="$cppdom_extra_includes -I@includedir@/$dir" - cppdom_basedir_extra_includes="$cppdom_basedir_extra_includes -I$CPPDOM_BASE_DIR/include/$dir" - done - fi - - if test "$use_base_dir" = "yes"; then - echo @cppdom_cxxflags@ $cppdom_extra_cxxflags -I$CPPDOM_BASE_DIR/include $cppdom_basedir_extra_includes - else - echo @cppdom_cxxflags@ $cppdom_extra_cxxflags -I@includedir@ $cppdom_extra_includes - fi -fi - -if test "x$echo_libs" = "xyes"; then - if test "x$use_base_dir" = "xyes"; then - echo -L$CPPDOM_BASE_DIR/@lib_subdir@ @cppdom_libs@ - else - echo -L@libdir@ @cppdom_libs@ - fi -fi - -exit 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |