3 # radexample - temporary wrapper script for .libs/radexample
4 # Generated by ltmain.sh - GNU libtool 1.0
6 # The radexample program cannot be directly executed until all the libtool
7 # libraries that it depends on are installed.
9 # This wrapper script should never be moved out of `/home/dfs/Servpoet/radiusclient-0.3.1/src'.
10 # If it is, it will not operate correctly.
12 # This environment variable determines our operation mode.
13 if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then
14 # install mode needs the following variables:
15 link_against_libtool_libs=' ../lib/libradiusclient.la'
16 finalize_command='gcc -g -O2 -o .libs/radexampleT radexample.o -Wl,-rpath -Wl,/usr/lib -L/usr/lib -lradiusclient -lcrypt -lnsl'
18 # Find the directory that this script lives in.
19 thisdir=`echo $0 | sed 's%/[^/]*$%%'`
20 test "x$thisdir" = "x$0" && thisdir=.
22 # Try to get the absolute directory name.
23 absdir=`cd "$thisdir" && pwd`
24 test -n "$absdir" && thisdir="$absdir"
26 progdir="$thisdir/.libs"
29 if test -f "$progdir/$program"; then
30 # Run the actual program with our arguments.
34 # Quote arguments (to preserve shell metacharacters).
38 # Export the path to the program.
42 # Add our own library path to LD_LIBRARY_PATH
43 LD_LIBRARY_PATH="$thisdir/../lib/.libs:$LD_LIBRARY_PATH"
45 # Some systems cannot cope with colon-terminated LD_LIBRARY_PATH
46 LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | sed -e 's/:*$//'`
48 export LD_LIBRARY_PATH
50 eval "exec ddd ./.libs/$program $args"
52 echo "$0: cannot exec $program $args"
55 # The program doesn't exist.
56 echo "$0: error: $progdir/$program does not exist" 1>&2
57 echo "This script is just a wrapper for $program." 1>&2
58 echo "See the libtool documentation for more information." 1>&2