[25834] | 1 | Index: ../trunk-jpl/src/c/issm_post
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/c/issm_post (revision 25632)
|
---|
| 4 | +++ ../trunk-jpl/src/c/issm_post (nonexistent)
|
---|
| 5 | @@ -1,210 +0,0 @@
|
---|
| 6 | -#! /bin/sh
|
---|
| 7 | -
|
---|
| 8 | -# issm_post - temporary wrapper script for .libs/issm_post.exe
|
---|
| 9 | -# Generated by libtool (GNU libtool) 2.4.2
|
---|
| 10 | -#
|
---|
| 11 | -# The issm_post program cannot be directly executed until all the libtool
|
---|
| 12 | -# libraries that it depends on are installed.
|
---|
| 13 | -#
|
---|
| 14 | -# This wrapper script should never be moved out of the build directory.
|
---|
| 15 | -# If it is, it will not operate correctly.
|
---|
| 16 | -
|
---|
| 17 | -# Sed substitution that helps us do robust quoting. It backslashifies
|
---|
| 18 | -# metacharacters that are still active within double-quoted strings.
|
---|
| 19 | -sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
|
---|
| 20 | -
|
---|
| 21 | -# Be Bourne compatible
|
---|
| 22 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 23 | - emulate sh
|
---|
| 24 | - NULLCMD=:
|
---|
| 25 | - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 26 | - # is contrary to our usage. Disable this feature.
|
---|
| 27 | - alias -g '${1+"$@"}'='"$@"'
|
---|
| 28 | - setopt NO_GLOB_SUBST
|
---|
| 29 | -else
|
---|
| 30 | - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
|
---|
| 31 | -fi
|
---|
| 32 | -BIN_SH=xpg4; export BIN_SH # for Tru64
|
---|
| 33 | -DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 34 | -
|
---|
| 35 | -# The HP-UX ksh and POSIX shell print the target directory to stdout
|
---|
| 36 | -# if CDPATH is set.
|
---|
| 37 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 38 | -
|
---|
| 39 | -relink_command=""
|
---|
| 40 | -
|
---|
| 41 | -# This environment variable determines our operation mode.
|
---|
| 42 | -if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then
|
---|
| 43 | - # install mode needs the following variables:
|
---|
| 44 | - generated_by_libtool_version='2.4.2'
|
---|
| 45 | - notinst_deplibs=' ./libISSMCore.la ./libISSMOverload.la ./libISSMModules.la /Users/jdq/Repos/issm/issm/trunk-jpl-new/src/c/libISSMCore.la'
|
---|
| 46 | -else
|
---|
| 47 | - # When we are sourced in execute mode, $file and $ECHO are already set.
|
---|
| 48 | - if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
|
---|
| 49 | - file="$0"
|
---|
| 50 | -
|
---|
| 51 | -# A function that is used when there is no print builtin or printf.
|
---|
| 52 | -func_fallback_echo ()
|
---|
| 53 | -{
|
---|
| 54 | - eval 'cat <<_LTECHO_EOF
|
---|
| 55 | -$1
|
---|
| 56 | -_LTECHO_EOF'
|
---|
| 57 | -}
|
---|
| 58 | - ECHO="printf %s\\n"
|
---|
| 59 | - fi
|
---|
| 60 | -
|
---|
| 61 | -# Very basic option parsing. These options are (a) specific to
|
---|
| 62 | -# the libtool wrapper, (b) are identical between the wrapper
|
---|
| 63 | -# /script/ and the wrapper /executable/ which is used only on
|
---|
| 64 | -# windows platforms, and (c) all begin with the string --lt-
|
---|
| 65 | -# (application programs are unlikely to have options which match
|
---|
| 66 | -# this pattern).
|
---|
| 67 | -#
|
---|
| 68 | -# There are only two supported options: --lt-debug and
|
---|
| 69 | -# --lt-dump-script. There is, deliberately, no --lt-help.
|
---|
| 70 | -#
|
---|
| 71 | -# The first argument to this parsing function should be the
|
---|
| 72 | -# script's ../../libtool value, followed by no.
|
---|
| 73 | -lt_option_debug=
|
---|
| 74 | -func_parse_lt_options ()
|
---|
| 75 | -{
|
---|
| 76 | - lt_script_arg0=$0
|
---|
| 77 | - shift
|
---|
| 78 | - for lt_opt
|
---|
| 79 | - do
|
---|
| 80 | - case "$lt_opt" in
|
---|
| 81 | - --lt-debug) lt_option_debug=1 ;;
|
---|
| 82 | - --lt-dump-script)
|
---|
| 83 | - lt_dump_D=`$ECHO "X$lt_script_arg0" | /usr/bin/sed -e 's/^X//' -e 's%/[^/]*$%%'`
|
---|
| 84 | - test "X$lt_dump_D" = "X$lt_script_arg0" && lt_dump_D=.
|
---|
| 85 | - lt_dump_F=`$ECHO "X$lt_script_arg0" | /usr/bin/sed -e 's/^X//' -e 's%^.*/%%'`
|
---|
| 86 | - cat "$lt_dump_D/$lt_dump_F"
|
---|
| 87 | - exit 0
|
---|
| 88 | - ;;
|
---|
| 89 | - --lt-*)
|
---|
| 90 | - $ECHO "Unrecognized --lt- option: '$lt_opt'" 1>&2
|
---|
| 91 | - exit 1
|
---|
| 92 | - ;;
|
---|
| 93 | - esac
|
---|
| 94 | - done
|
---|
| 95 | -
|
---|
| 96 | - # Print the debug banner immediately:
|
---|
| 97 | - if test -n "$lt_option_debug"; then
|
---|
| 98 | - echo "issm_post.exe:issm_post:${LINENO}: libtool wrapper (GNU libtool) 2.4.2" 1>&2
|
---|
| 99 | - fi
|
---|
| 100 | -}
|
---|
| 101 | -
|
---|
| 102 | -# Used when --lt-debug. Prints its arguments to stdout
|
---|
| 103 | -# (redirection is the responsibility of the caller)
|
---|
| 104 | -func_lt_dump_args ()
|
---|
| 105 | -{
|
---|
| 106 | - lt_dump_args_N=1;
|
---|
| 107 | - for lt_arg
|
---|
| 108 | - do
|
---|
| 109 | - $ECHO "issm_post.exe:issm_post:${LINENO}: newargv[$lt_dump_args_N]: $lt_arg"
|
---|
| 110 | - lt_dump_args_N=`expr $lt_dump_args_N + 1`
|
---|
| 111 | - done
|
---|
| 112 | -}
|
---|
| 113 | -
|
---|
| 114 | -# Core function for launching the target application
|
---|
| 115 | -func_exec_program_core ()
|
---|
| 116 | -{
|
---|
| 117 | -
|
---|
| 118 | - if test -n "$lt_option_debug"; then
|
---|
| 119 | - $ECHO "issm_post.exe:issm_post:${LINENO}: newargv[0]: $progdir/$program" 1>&2
|
---|
| 120 | - func_lt_dump_args ${1+"$@"} 1>&2
|
---|
| 121 | - fi
|
---|
| 122 | - exec "$progdir/$program" ${1+"$@"}
|
---|
| 123 | -
|
---|
| 124 | - $ECHO "$0: cannot exec $program $*" 1>&2
|
---|
| 125 | - exit 1
|
---|
| 126 | -}
|
---|
| 127 | -
|
---|
| 128 | -# A function to encapsulate launching the target application
|
---|
| 129 | -# Strips options in the --lt-* namespace from $@ and
|
---|
| 130 | -# launches target application with the remaining arguments.
|
---|
| 131 | -func_exec_program ()
|
---|
| 132 | -{
|
---|
| 133 | - case " $* " in
|
---|
| 134 | - *\ --lt-*)
|
---|
| 135 | - for lt_wr_arg
|
---|
| 136 | - do
|
---|
| 137 | - case $lt_wr_arg in
|
---|
| 138 | - --lt-*) ;;
|
---|
| 139 | - *) set x "$@" "$lt_wr_arg"; shift;;
|
---|
| 140 | - esac
|
---|
| 141 | - shift
|
---|
| 142 | - done ;;
|
---|
| 143 | - esac
|
---|
| 144 | - func_exec_program_core ${1+"$@"}
|
---|
| 145 | -}
|
---|
| 146 | -
|
---|
| 147 | - # Parse options
|
---|
| 148 | - func_parse_lt_options "$0" ${1+"$@"}
|
---|
| 149 | -
|
---|
| 150 | - # Find the directory that this script lives in.
|
---|
| 151 | - thisdir=`$ECHO "$file" | /usr/bin/sed 's%/[^/]*$%%'`
|
---|
| 152 | - test "x$thisdir" = "x$file" && thisdir=.
|
---|
| 153 | -
|
---|
| 154 | - # Follow symbolic links until we get to the real thisdir.
|
---|
| 155 | - file=`ls -ld "$file" | /usr/bin/sed -n 's/.*-> //p'`
|
---|
| 156 | - while test -n "$file"; do
|
---|
| 157 | - destdir=`$ECHO "$file" | /usr/bin/sed 's%/[^/]*$%%'`
|
---|
| 158 | -
|
---|
| 159 | - # If there was a directory component, then change thisdir.
|
---|
| 160 | - if test "x$destdir" != "x$file"; then
|
---|
| 161 | - case "$destdir" in
|
---|
| 162 | - [\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;;
|
---|
| 163 | - *) thisdir="$thisdir/$destdir" ;;
|
---|
| 164 | - esac
|
---|
| 165 | - fi
|
---|
| 166 | -
|
---|
| 167 | - file=`$ECHO "$file" | /usr/bin/sed 's%^.*/%%'`
|
---|
| 168 | - file=`ls -ld "$thisdir/$file" | /usr/bin/sed -n 's/.*-> //p'`
|
---|
| 169 | - done
|
---|
| 170 | -
|
---|
| 171 | - # Usually 'no', except on cygwin/mingw when embedded into
|
---|
| 172 | - # the cwrapper.
|
---|
| 173 | - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=no
|
---|
| 174 | - if test "$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR" = "yes"; then
|
---|
| 175 | - # special case for '.'
|
---|
| 176 | - if test "$thisdir" = "."; then
|
---|
| 177 | - thisdir=`pwd`
|
---|
| 178 | - fi
|
---|
| 179 | - # remove .libs from thisdir
|
---|
| 180 | - case "$thisdir" in
|
---|
| 181 | - *[\\/].libs ) thisdir=`$ECHO "$thisdir" | /usr/bin/sed 's%[\\/][^\\/]*$%%'` ;;
|
---|
| 182 | - .libs ) thisdir=. ;;
|
---|
| 183 | - esac
|
---|
| 184 | - fi
|
---|
| 185 | -
|
---|
| 186 | - # Try to get the absolute directory name.
|
---|
| 187 | - absdir=`cd "$thisdir" && pwd`
|
---|
| 188 | - test -n "$absdir" && thisdir="$absdir"
|
---|
| 189 | -
|
---|
| 190 | - program='issm_post.exe'
|
---|
| 191 | - progdir="$thisdir/.libs"
|
---|
| 192 | -
|
---|
| 193 | -
|
---|
| 194 | - if test -f "$progdir/$program"; then
|
---|
| 195 | - # Add our own library path to DYLD_LIBRARY_PATH
|
---|
| 196 | - DYLD_LIBRARY_PATH="/Users/jdq/Repos/issm/issm/trunk-jpl-new/src/c/.libs:$DYLD_LIBRARY_PATH"
|
---|
| 197 | -
|
---|
| 198 | - # Some systems cannot cope with colon-terminated DYLD_LIBRARY_PATH
|
---|
| 199 | - # The second colon is a workaround for a bug in BeOS R4 sed
|
---|
| 200 | - DYLD_LIBRARY_PATH=`$ECHO "$DYLD_LIBRARY_PATH" | /usr/bin/sed 's/::*$//'`
|
---|
| 201 | -
|
---|
| 202 | - export DYLD_LIBRARY_PATH
|
---|
| 203 | -
|
---|
| 204 | - if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
|
---|
| 205 | - # Run the actual program with our arguments.
|
---|
| 206 | - func_exec_program ${1+"$@"}
|
---|
| 207 | - fi
|
---|
| 208 | - else
|
---|
| 209 | - # The program doesn't exist.
|
---|
| 210 | - $ECHO "$0: error: \`$progdir/$program' does not exist" 1>&2
|
---|
| 211 | - $ECHO "This script is just a wrapper for $program." 1>&2
|
---|
| 212 | - $ECHO "See the libtool documentation for more information." 1>&2
|
---|
| 213 | - exit 1
|
---|
| 214 | - fi
|
---|
| 215 | -fi
|
---|
| 216 |
|
---|
| 217 | Property changes on: ../trunk-jpl/src/c/issm_post
|
---|
| 218 | ___________________________________________________________________
|
---|
| 219 | Deleted: svn:executable
|
---|
| 220 | ## -1 +0,0 ##
|
---|
| 221 | -*
|
---|
| 222 | \ No newline at end of property
|
---|