5 # Copyright 2011-2014, Juniper Networks, Inc.
7 # This SOFTWARE is licensed under the LICENSE provided in the
8 # ../Copyright file. By downloading, installing, copying, or otherwise
9 # using the SOFTWARE, you agree to be bound by the terms of that
13 exec_prefix=@exec_prefix@
14 includedir=@includedir@
20 Usage: libxo-config [OPTION]
22 Known values for OPTION are:
24 --prefix=DIR change libxo prefix [default $prefix]
25 --exec-prefix=DIR change libxo exec prefix [default $exec_prefix]
26 --libs print library linking information
27 --bindir print the bin directory
28 --cflags print pre-processor and compiler flags
29 --share print share directory
30 --help display this help and exit
31 --version output version information
37 if test $# -eq 0; then
44 while test $# -gt 0; do
46 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
53 includedir=$prefix/include
63 libdir=$exec_prefix/lib
80 echo -I@XO_INCLUDEDIR@ @XO_CFLAGS@
98 if [ "`uname`" = "Linux" ]
100 if [ "@XO_LIBDIR@" = "-L/usr/lib" -o "@XO_LIBDIR@" = "-L/usr/lib64" ]
104 echo -L@XO_LIBDIR@ @XO_LIBS@
107 echo -L@XO_LIBDIR@ @XO_LIBS@