X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=cae1175693f505e7b91baa8c207876a9ac1926be;hp=d7b361cd7cd756152a3849bbaf6f3c462edf8eab;hb=cf0d647d4a642af04013d09f412e8629897187c5;hpb=10a1b30cd1e5537ef3c60b27f96b36a428ebb390 diff --git a/yaz-config.in b/yaz-config.in index d7b361c..cae1175 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,20 +1,31 @@ #!/bin/sh -# $Id: yaz-config.in,v 1.3 2000-10-11 12:24:58 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_src_root=@YAZ_SRC_ROOT@ +# This file is part of the YAZ toolkit. +# Copyright (C) 1995-2013 Index Data -yazlibs="@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@" +LIBS="@LIBS@" +VERSION=@VERSION@ +YAZVERSION=$VERSION +VERSION_SHA1=@VERSION_SHA1@ usage() { - cat <&2 +if test "$lib_thread" = "yes"; then + : +fi + +if test "$lib_icu" = "yes"; then + YAZINC="$YAZINC $ICU_CPPFLAGS" + YAZLIB="$YAZLIB $ICU_LIBS" + YAZLALIB="$YAZLALIB $ICU_LIBS" +fi + +if test "$echo_help" = "yes"; then + usage 1 1>&2 +fi +if test "$echo_include" = "yes"; then + echo $YAZBINC fi -if test "$yaz_echo_cflags" = "yes"; then - echo $YAZINC +if test "$echo_cflags" = "yes"; then + echo $YAZINC fi -if test "$yaz_echo_libs" = "yes"; then - echo $YAZLIB +if test "$echo_libs" = "yes"; then + echo $YAZLIB fi -if test "$yaz_echo_tabs" = "yes"; then - echo $YAZTAB +if test "$echo_lalibs" = "yes"; then + echo $YAZLALIB fi -if test "$yaz_echo_lalibs" = "yes"; then - echo $YAZLALIB +if test "$echo_comp" = "yes"; then + echo $YAZCOMP fi +# Local Variables: +# mode:shell-script +# sh-indentation: 2 +# sh-basic-offset: 4 +# End: