#!/bin/sh # # Posadis configure script # # Copyright (C) Meilof Veeningen, 2003 # prefix=@prefix@ exec_prefix=@exec_prefix@ exec_prefix_set=no usage() { cat <&2 fi while test $# -gt 0; do case "$1" in -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac case $1 in --version) echo @VERSION@ ;; --cflags) echo_cflags=yes ;; --libs) echo_libs=yes ;; --libdir) echo_libdir=yes ;; *) usage 1 1>&2 ;; esac shift done CMD= if test "$echo_cflags" = "yes"; then CMD="$CMD @poslib_srvcxxflags@ -I@includedir@/posadis-@VERSION@ -I@libdir@/posadis-@VERSION@/include/ -funsigned-char" fi if test "$echo_libdir" = "yes"; then CMD="@LIBDIR@" fi #if test "$echo_libs" = "yes"; then # CMD="$CMD" #fi echo $CMD