The upgrade to automake 1.8/1.9 causes the product dist to be called
[yazpp-moved-to-github.git] / yaz++-config.in
diff --git a/yaz++-config.in b/yaz++-config.in
deleted file mode 100644 (file)
index 052e142..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/sh
-# $Id: yaz++-config.in,v 1.7 2004-03-29 22:46:50 adam Exp $
-yazppprefix=@prefix@
-yaz_echo_cflags=no
-yaz_echo_libs=no
-yaz_echo_help=no
-yaz_echo_tabs=no
-yaz_echo_source=yes
-yaz_echo_lalibs=no
-yazpp_src_root=@YAZPP_SRC_ROOT@
-yazpp_build_root=@YAZPP_BUILD_ROOT@
-
-yazlibs="@YAZLIB@ @LIBS@"
-yazlalibs="@YAZLALIB@ @LIBS@"
-YAZPPVERSION=@VERSION@
-
-usage()
-{
-       cat <<EOF
-Usage: yaz++-config [OPTIONS] [LIBRARIES]
-Options:
-       [--prefix[=DIR]]
-       [--version]
-       [--libs]
-       [--lalibs]
-       [--cflags]
-EOF
-       exit $1
-}
-
-if test $# -eq 0; then
-       yaz_echo_help=yes
-fi
-
-while test $# -gt 0; do
-  case "$1" in
-  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
-  *) optarg= ;;
-  esac
-
-  case $1 in
-    --prefix=*)
-      yazppprefix=$optarg
-      ;;
-    --prefix)
-      echo $yazppprefix
-      exit 0
-      ;;
-    --version)
-      echo $YAZPPVERSION
-      exit 0
-      ;;
-    --cflags)
-      yaz_echo_cflags=yes
-      ;;
-    --libs)
-      yaz_echo_libs=yes
-      ;;
-    --tabs)
-      yaz_echo_tabs=yes
-      ;;
-    --lalibs)
-      yaz_echo_lalibs=yes
-      ;;
-    -*)
-      yaz_echo_help=yes
-      ;;
-  esac
-  shift
-done
-
-libs_short="-lyazcpp -lzoomcpp"
-
-if test "$yaz_echo_source" = "yes"; then
-    YAZPPLIB="-L${yazpp_build_root}/src/.libs -lyazcpp"
-    YAZPPLIB="$YAZPPLIB -L${yazpp_build_root}/zoom/.libs -lzoomcpp"
-    YAZPPLIB="$YAZPPLIB $yazlibs"
-    YAZPPLALIB="${yazpp_build_root}/src/libyazcpp.la $yazlalibs"
-    YAZPPINC="@YAZINC@ -I${yazpp_src_root}/include"
-else
-
-    if test "$yazppprefix" = "/usr"; then
-       YAZPPLIB="${libs_short} $yazlibs"
-    else
-       YAZPPLIB="-L${yazppprefix}/lib ${libs_short} $yazlibs"
-    fi
-    YAZPPLALIB=$YAZPPLIB
-    if test "$yazppprefix" = "/usr"; then
-       YAZPPINC=
-    else
-       YAZPPINC="@YAZINC@ -I${yazppprefix}/include"
-    fi
-fi
-
-if test "$yaz_echo_help" = "yes"; then
-       usage 1 1>&2
-fi
-if test "$yaz_echo_cflags" = "yes"; then
-       echo $YAZPPINC
-fi
-if test "$yaz_echo_libs" = "yes"; then
-       echo $YAZPPLIB
-fi
-if test "$yaz_echo_lalibs" = "yes"; then
-       echo $YAZPPLALIB
-fi