3 # logresolve - temporary wrapper script for .libs/logresolve
4 # Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
6 # The logresolve 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 the build directory.
10 # If it is, it will not operate correctly.
12 # Sed substitution that helps us do robust quoting. It backslashifies
13 # metacharacters that are still active within double-quoted strings.
14 Xsed='/bin/sed -e 1s/^X//'
15 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
17 # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
28 BIN_SH=xpg4; export BIN_SH # for Tru64
29 DUALCASE=1; export DUALCASE # for MKS sh
31 # The HP-UX ksh and POSIX shell print the target directory to stdout
33 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
35 relink_command="(cd /bottlenecks/rubbos/app/httpd-2.0.64/support; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z \"\${LD_LIBRARY_PATH+set}\" || unset LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export LD_LIBRARY_PATH; }; }; PATH=\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games\"; export PATH; gcc -g -O2 -pthread -D_REENTRANT -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr/include -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/include -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/lib -I. -I/bottlenecks/rubbos/app/httpd-2.0.64/os/unix -I/bottlenecks/rubbos/app/httpd-2.0.64/server/mpm/worker -I/bottlenecks/rubbos/app/httpd-2.0.64/modules/http -I/bottlenecks/rubbos/app/httpd-2.0.64/modules/filters -I/bottlenecks/rubbos/app/httpd-2.0.64/modules/proxy -I/bottlenecks/rubbos/app/httpd-2.0.64/include -I/bottlenecks/rubbos/app/httpd-2.0.64/modules/generators -I/bottlenecks/rubbos/app/httpd-2.0.64/modules/dav/main -o \$progdir/\$file .libs/logresolve.o -Wl,--export-dynamic -L/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/lib /bottlenecks/rubbos/app/httpd-2.0.64/srclib/pcre/.libs/libpcre.a /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/.libs/libaprutil-0.so /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/.libs/libexpat.so /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr/.libs/libapr-0.so -lrt -lm -lcrypt -lnsl -lpthread -ldl -Wl,--rpath -Wl,/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/.libs -Wl,--rpath -Wl,/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/.libs -Wl,--rpath -Wl,/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr/.libs -Wl,--rpath -Wl,/bottlenecks/rubbos/app/apache2/lib ) "
37 # This environment variable determines our operation mode.
38 if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then
39 # install mode needs the following variable:
40 notinst_deplibs=' /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/libaprutil-0.la /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/libexpat.la /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr/libapr-0.la'
42 # When we are sourced in execute mode, $file and $echo are already set.
43 if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
46 # Make sure echo works.
47 if test "X$1" = X--no-reexec; then
48 # Discard the --no-reexec flag, and continue.
50 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
51 # Yippee, $echo works!
54 # Restart under the correct shell, and then maybe $echo will work.
55 exec /bin/bash "$0" --no-reexec ${1+"$@"}
59 # Find the directory that this script lives in.
60 thisdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
61 test "x$thisdir" = "x$file" && thisdir=.
63 # Follow symbolic links until we get to the real thisdir.
64 file=`ls -ld "$file" | /bin/sed -n 's/.*-> //p'`
65 while test -n "$file"; do
66 destdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
68 # If there was a directory component, then change thisdir.
69 if test "x$destdir" != "x$file"; then
71 [\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;;
72 *) thisdir="$thisdir/$destdir" ;;
76 file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
77 file=`ls -ld "$thisdir/$file" | /bin/sed -n 's/.*-> //p'`
80 # Try to get the absolute directory name.
81 absdir=`cd "$thisdir" && pwd`
82 test -n "$absdir" && thisdir="$absdir"
84 program=lt-'logresolve'
85 progdir="$thisdir/.libs"
87 if test ! -f "$progdir/$program" || \
88 { file=`ls -1dt "$progdir/$program" "$progdir/../$program" 2>/dev/null | /bin/sed 1q`; \
89 test "X$file" != "X$progdir/$program"; }; then
93 if test ! -d "$progdir"; then
96 rm -f "$progdir/$file"
99 # relink executable if necessary
100 if test -n "$relink_command"; then
101 if relink_command_output=`eval $relink_command 2>&1`; then :
103 echo "$relink_command_output" >&2
104 rm -f "$progdir/$file"
109 mv -f "$progdir/$file" "$progdir/$program" 2>/dev/null ||
110 { rm -f "$progdir/$program";
111 mv -f "$progdir/$file" "$progdir/$program"; }
112 rm -f "$progdir/$file"
115 if test -f "$progdir/$program"; then
116 if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
117 # Run the actual program with our arguments.
119 exec "$progdir/$program" ${1+"$@"}
121 $echo "$0: cannot exec $program $*"
125 # The program doesn't exist.
126 $echo "$0: error: \`$progdir/$program' does not exist" 1>&2
127 $echo "This script is just a wrapper for $program." 1>&2
128 echo "See the libtool documentation for more information." 1>&2