Lines Matching refs:prog*
16 # if you distribute this file as part of a program or library that
18 # same distribution terms that you use for the rest of that program.
31 # Usage: $progname [OPTION]... [MODE-ARG]...
55 # execute automatically set library path, then run a program
63 # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
73 # $progname: (GNU libtool) 2.4.2
134 progpath="$0"
372 # The name of this program:
373 func_dirname_and_basename "$progpath"
374 progname=$func_basename_result
377 case $progpath in
380 progdir=$func_dirname_result
381 progdir=`cd "$progdir" && pwd`
382 progpath="$progdir/$progname"
387 for progdir in $PATH; do
389 test -x "$progdir/$progname" && break
392 test -n "$progdir" || progdir=`pwd`
393 progpath="$progdir/$progname"
438 # Echo program name prefixed message, along with the current mode
442 $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
446 # Echo program name prefixed message in verbose mode only.
465 # Echo program name prefixed message to standard error.
468 $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
472 # Echo program name prefixed warning message to standard error.
475 $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
482 # Echo program name prefixed message to standard error, and exit.
490 # Echo program name prefixed message to standard error, followed by
497 help="Try \`$progname --help' for more information." ## default
559 my_template="${TMPDIR-/tmp}/${1-$progname}"
731 }' < "$progpath"
744 s/\$progname/'$progname'/
746 }' < "$progpath"
748 $ECHO "run \`$progname --help | more' for full usage"
763 s*\$progname*'$progname'*
777 ' < "$progpath"
785 # Echo program name prefixed message to standard error and set global
890 # Echo program name prefixed message to standard error, followed by
908 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
912 $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
962 if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
969 extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
987 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
988 $progname: definition of this LT_INIT comes from an older release.
989 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
990 $progname: and run autoconf again.
994 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
995 $progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
996 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
997 $progname: and run autoconf again.
1002 $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
1003 $progname: but the definition of this LT_INIT comes from revision $macro_revision.
1004 $progname: You should recreate aclocal.m4 with macros from revision $package_revision
1005 $progname: of $PACKAGE $VERSION and run autoconf again.
1212 help="Try \`$progname --help --mode=$opt_mode' for more information."
1241 # resorting to external programs. To this end, it redirects stdin and
1394 if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
1396 eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
1477 # correctly configured wine environment available, with the winepath program
1508 # configured wine environment available, with the winepath program in $build's
1541 # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
2149 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
2309 "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
2313 RM is the name of the program to use to delete files associated with each FILE
2317 If FILE is a libtool library, object or program, all the files associated
2323 "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
2347 "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
2349 Automatically set library path, then run a program.
2367 "Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
2379 "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
2384 either the \`install' or \`cp' program.
2396 "Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
2399 create an executable program.
2402 a program from several object files.
2429 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
2458 is created, otherwise an executable program is created."
2463 "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
2467 RM is the name of the program to use to delete files associated with each FILE
2481 $ECHO "Try \`$progname --help' for more information about other modes."
2590 # rather than running their programs.
2600 # Do a test to see if this is really a libtool program.
2604 file="$progdir/$program"
2609 file="$progdir/$program"
2787 # The real first argument should be the name of the installation program.
2856 func_fatal_help "you must specify an install program"
2910 # than running their programs.
3099 # Do a test to see if this is really a libtool program.
3219 func_warning "remember to run \`$progname --finish$future_libdirs'"
3224 exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
3297 # Add our own program objects to the symbol list.
3298 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
3299 for progfile in $progfiles; do
3300 func_to_tool_file "$progfile" func_convert_file_msys_to_w32
3472 # a FreeBSD bug that causes programs to crash when -lm is
3720 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
3846 # The $output program cannot be directly executed until all the libtool
3903 # (application programs are unlikely to have options which match
3961 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
3964 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
3971 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
3974 exec \"\$progdir/\$program\" \${1+\"\$@\"}
3979 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
4048 program=lt-'$outputname'$exeext
4049 progdir=\"\$thisdir/$objdir\"
4051 if test ! -f \"\$progdir/\$program\" ||
4052 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
4053 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
4055 file=\"\$\$-\$program\"
4057 if test ! -d \"\$progdir\"; then
4058 $MKDIR \"\$progdir\"
4060 $RM \"\$progdir/\$file\"
4070 $RM \"\$progdir/\$file\"
4075 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
4076 { $RM \"\$progdir/\$program\";
4077 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
4078 $RM \"\$progdir/\$file\"
4082 program='$outputname'
4083 progdir=\"\$thisdir/$objdir\"
4089 if test -f \"\$progdir/\$program\"; then"
4119 # Run the actual program with our arguments.
4123 # The program doesn't exist.
4124 \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
4125 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
4145 The $output program cannot be directly executed until all the libtool
4280 const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
4364 program_name = (char *) xstrdup (base_name (argv[0]));
4420 lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
4445 /* target_name transforms -- use actual target program name; might have lt- prefix */
4813 (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
4825 fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
6040 *) linkmode=prog ;; # Anything else should be a program.
6094 prog)
6120 test "$linkmode,$pass" = "prog,scan"; then
6124 if test "$linkmode" = prog; then
6166 if test "$linkmode,$pass" = "prog,link"; then
6181 if test "$linkmode" != lib && test "$linkmode" != prog; then
6208 if test "$linkmode,$pass" = "prog,link"; then
6234 if test "$linkmode,$pass" = "prog,link"; then
6251 if test "$linkmode,$pass" = "prog,link"; then
6275 prog)
6358 prog)
6372 elif test "$linkmode" = prog; then
6432 test "$linkmode,$pass" = "prog,scan" ||
6433 { test "$linkmode" != prog && test "$linkmode" != lib; }; then
6448 elif test "$linkmode" != prog && test "$linkmode" != lib; then
6544 if test -z "$libdir" && test "$linkmode" = prog; then
6593 elif test "$linkmode,$pass" = "prog,link"; then
6597 deplibs="$lib $deplibs" # used for prog,scan pass
6603 if test "$linkmode" = prog && test "$pass" != link; then
6637 fi # $linkmode = prog...
6639 if test "$linkmode,$pass" = "prog,link"; then
6674 fi # $linkmode,$pass = prog,link...
6718 if test "$linkmode" = prog; then
6798 if test "$linkmode" = prog || test "$opt_mode" != relink; then
6879 if test "$linkmode" = prog; then
6896 if test "$linkmode" = prog || test "$opt_mode" = relink; then
6934 if test "$linkmode" = prog; then
6942 elif test "$linkmode" = prog; then
6961 # that the program can be linked against the static library.
6974 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
6975 echo "*** not find such a program. So, this module is probably useless."
7100 if test "$linkmode" = "prog"; then
7127 if test "$linkmode,$pass" != "prog,link"; then
7203 if test "$linkmode" = prog; then
7206 if test "$linkmode" = prog || test "$linkmode" = lib; then
7676 # This code stresses the "libraries are programs" paradigm to its
7677 # limits. Maybe even breaks it. We compile a program, linking it
7715 echo "*** its dynamic dependency list that programs get resolved with at runtime."
7726 # the situation: Compile a separate program for each library.
7758 echo "*** as a dynamic dependency that programs can get resolved with at runtime."
7961 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
7962 echo "*** not find such a program. So, this module is probably useless."
7974 echo "*** automatically added whenever a program is linked with this library"
8672 # accidentally link it into a program.
8692 prog)
8698 func_warning "\`-version-info' is ignored for programs"
8701 func_warning "\`-release' is ignored for programs"
8977 relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
9262 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
9431 # LD_LIBRARY_PATH before the program is installed.
9452 # than running their programs.
9465 func_fatal_help "you must specify an RM program"
9574 # Do a test to see if this is a libtool program.