2 # Copyright (C) 2002 Simon Josefsson
4 # This file is free software; as a special exception the author gives
5 # unlimited permission to copy and/or distribute it, with or without
6 # modifications, as long as this notice is preserved.
8 # This file is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
10 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 exec_prefix
=@exec_prefix@
16 libgsasl_libs
="@LIBGSASL_LIBS@"
17 libgsasl_cflags
="@LIBGSASL_CFLAGS@"
23 Usage: libgsasl-config [OPTIONS]
34 if test $# -eq 0; then
38 while test $# -gt 0; do
40 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
47 if test $exec_prefix_set = no
; then
78 if test "$echo_prefix" = "yes"; then
82 if test "$echo_exec_prefix" = "yes"; then
86 if test "$echo_cflags" = "yes"; then
87 if test "@includedir@" != "/usr/include" ; then
88 includes
="-I@includedir@"
89 for i
in $libgsasl_cflags ; do
90 if test "$i" = "-I@includedir@" ; then
95 echo $includes $libgsasl_cflags
98 if test "$echo_libs" = "yes"; then