X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=979985dd546c1a09baf7eec268f5162938d023b0;hp=6f2cd240dd1ca7e1a70d0f64cd6ebfb7db361203;hb=7f79b3a521ea4d5d4e89f8659324019cecc0fe8a;hpb=1252daa48c1303465e00fccb7f7287d2d6b179ed diff --git a/yaz-config.in b/yaz-config.in index 6f2cd24..979985d 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,22 +1,35 @@ #!/bin/sh -# $Id: yaz-config.in,v 1.10 2001-10-15 20:37:08 adam Exp $ -yazprefix=@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 -yaz_echo_comp=no -yaz_src_root=@YAZ_SRC_ROOT@ -yaz_build_root=@YAZ_BUILD_ROOT@ +# This file is part of the YAZ toolkit. +# Copyright (C) Index Data +# See the file LICENSE for details. -yazextralibs="@LIBS@" -YAZVERSION=@VERSION@ +prefix="@prefix@" +exec_prefix="@exec_prefix@" +libdir="@libdir@" +includedir="@includedir@" +echo_cflags=no +echo_libs=no +echo_help=no +echo_include=no +echo_source=yes +echo_lalibs=no +echo_comp=no +src_root="@abs_top_srcdir@" +build_root="@abs_top_builddir@" +ICU_LIBS="@ICU_LIBS@" +ICU_CPPFLAGS="@ICU_CPPFLAGS@" +SSL_LIBS="@SSL_LIBS@" +GCRYPT_LIBS="@GCRYPT_LIBS@" +MEMCACHED_LIBS="@MEMCACHED_LIBS@" +HIREDIS_LIBS="@HIREDIS_LIBS@" +LIBS="@LIBS@" +VERSION=@VERSION@ +YAZVERSION=$VERSION +VERSION_SHA1=@VERSION_SHA1@ usage() { - cat <&2 +if test "$echo_help" = "yes"; then + usage 1 1>&2 fi -if test "$yaz_echo_cflags" = "yes"; then - echo $YAZINC +if test "$echo_include" = "yes"; then + echo $YAZBINC fi -if test "$yaz_echo_libs" = "yes"; then - echo $YAZLIB +if test "$echo_cflags" = "yes"; then + echo $YAZINC fi -if test "$yaz_echo_tabs" = "yes"; then - echo $YAZTAB +if test "$echo_libs" = "yes"; then + echo $YAZLIB fi -if test "$yaz_echo_lalibs" = "yes"; then - echo $YAZLALIB +if test "$echo_lalibs" = "yes"; then + echo $YAZLALIB fi -if test "$yaz_echo_comp" = "yes"; then - echo $YAZCOMP +if test "$echo_comp" = "yes"; then + echo $YAZCOMP fi +# Local Variables: +# mode:shell-script +# sh-indentation: 2 +# sh-basic-offset: 4 +# End: