Lines Matching refs:prog*

19 # if you distribute this file as part of a program or library that
21 # same distribution terms that you use for the rest of that program.
29 # along with this program. If not, see <http://www.gnu.org/licenses/>.
193 # Search for either a program that responds to --version with output
198 # CHECK_FUNC should accept the path to a candidate program, and
451 progpath=$0
453 # The name of this program.
454 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
456 # Make sure we have an absolute progpath for reexecution:
457 case $progpath in
460 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
461 progdir=`cd "$progdir" && pwd`
462 progpath=$progdir/$progname
467 for progdir in $PATH; do
469 test -x "$progdir/$progname" && break
472 test -n "$progdir" || progdir=`pwd`
473 progpath=$progdir/$progname
756 # Echo program name prefixed message.
767 $ECHO "$progname: $_G_line"
784 # Echo program name, followed by INFIX on the first line, with any
794 _G_prefix="$progname: $_G_infix: "
805 _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes
820 # Echo program name prefixed message to standard error.
833 # Echo program name prefixed message to standard error, and exit.
937 _G_template=${TMPDIR-/tmp}/${1-$progname}
1058 # Echo program name prefixed message only when not in quiet mode.
1444 # Echo program name prefixed message in verbose mode only.
1457 # Echo program name prefixed warning message to standard error.
1470 # Echo program name prefixed warning message to standard error. Warning
1605 usage='$progpath [OPTION]...'
1627 fatal_help="Try '\$progname --help' for more information."
2031 # Echo program name prefixed message to standard error, followed by
2059 # Echo program name prefixed message to standard error and set global
2140 $ECHO "Run '$progname --help |${PAGER-more}' for full usage"
2159 /^Written by/q' < "$progpath"
2170 # 1. First display the progname and version
2181 printf '%s\n' "$progname $scriptversion"
2205 p; q' < "$progpath"
2237 $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line"
2262 usage='$progpath [OPTION]... [MODE-ARG]...'
2293 execute automatically set library path, then run a program
2301 Try '$progname --help --mode=MODE' for a more detailed description of MODE.
2311 version: $progname $scriptversion Debian-2.4.7-5
2363 # Echo program name prefixed message to standard error, followed by
2382 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2386 $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
2440 if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
2447 extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
2467 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2468 $progname: definition of this LT_INIT comes from an older release.
2469 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2470 $progname: and run autoconf again.
2474 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2475 $progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
2476 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2477 $progname: and run autoconf again.
2482 $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
2483 $progname: but the definition of this LT_INIT comes from revision $macro_revision.
2484 $progname: You should recreate aclocal.m4 with macros from revision $package_revision
2485 $progname: of $PACKAGE $VERSION and run autoconf again.
2707 help="Try '$progname --help --mode=$opt_mode' for more information."
2770 # resorting to external programs. To this end, it redirects stdin and
2928 if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
2930 eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
3011 # correctly configured wine environment available, with the winepath program
3043 # configured wine environment available, with the winepath program in $build's
3077 # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
3722 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
3882 "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
3886 RM is the name of the program to use to delete files associated with each FILE
3890 If FILE is a libtool library, object or program, all the files associated
3896 "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
3921 "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
3923 Automatically set library path, then run a program.
3941 "Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
3953 "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
3958 either the 'install' or 'cp' program.
3970 "Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
3973 create an executable program.
3976 a program from several object files.
4004 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
4035 is created, otherwise an executable program is created."
4040 "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
4044 RM is the name of the program to use to delete files associated with each FILE
4058 $ECHO "Try '$progname --help' for more information about other modes."
4168 # rather than running their programs.
4178 # Do a test to see if this is really a libtool program.
4182 file=$progdir/$program
4187 file=$progdir/$program
4368 # The real first argument should be the name of the installation program.
4437 func_fatal_help "you must specify an install program"
4491 # than running their programs.
4687 # Do a test to see if this is really a libtool program.
4807 func_warning "remember to run '$progname --finish$future_libdirs'"
4812 exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs'
4888 # Add our own program objects to the symbol list.
4889 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
4890 for progfile in $progfiles; do
4891 func_to_tool_file "$progfile" func_convert_file_msys_to_w32
5087 # a FreeBSD bug that causes programs to crash when -lm is
5353 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
5481 # The $output program cannot be directly executed until all the libtool
5539 # (application programs are unlikely to have options that match
5597 \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2
5600 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
5607 \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2
5610 exec \"\$progdir/\$program\" \${1+\"\$@\"}
5615 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
5684 program=lt-'$outputname'$exeext
5685 progdir=\"\$thisdir/$objdir\"
5687 if test ! -f \"\$progdir/\$program\" ||
5688 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\
5689 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
5691 file=\"\$\$-\$program\"
5693 if test ! -d \"\$progdir\"; then
5694 $MKDIR \"\$progdir\"
5696 $RM \"\$progdir/\$file\"
5706 $RM \"\$progdir/\$file\"
5711 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
5712 { $RM \"\$progdir/\$program\";
5713 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
5714 $RM \"\$progdir/\$file\"
5718 program='$outputname'
5719 progdir=\"\$thisdir/$objdir\"
5725 if test -f \"\$progdir/\$program\"; then"
5755 # Run the actual program with our arguments.
5759 # The program doesn't exist.
5760 \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2
5761 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
5781 The $output program cannot be directly executed until all the libtool
5914 const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
6003 program_name = (char *) xstrdup (base_name (argv[0]));
6059 lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
6084 /* target_name transforms -- use actual target program name; might have lt- prefix */
6452 (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
6464 fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
7775 *) linkmode=prog ;; # Anything else should be a program.
7829 prog)
7855 test prog,scan = "$linkmode,$pass"; then
7859 if test prog = "$linkmode"; then
7904 if test prog,link = "$linkmode,$pass"; then
7919 if test lib != "$linkmode" && test prog != "$linkmode"; then
7963 if test prog,link = "$linkmode,$pass"; then
7979 if test prog,link = "$linkmode,$pass"; then
7990 if test prog,link = "$linkmode,$pass"; then
8014 prog)
8097 prog)
8111 elif test prog = "$linkmode"; then
8169 test prog,scan = "$linkmode,$pass" ||
8170 { test prog != "$linkmode" && test lib != "$linkmode"; }; then
8195 elif test prog != "$linkmode" && test lib != "$linkmode"; then
8281 if test -z "$libdir" && test prog = "$linkmode"; then
8330 elif test prog,link = "$linkmode,$pass"; then
8334 deplibs="$lib $deplibs" # used for prog,scan pass
8340 if test prog = "$linkmode" && test link != "$pass"; then
8374 fi # $linkmode = prog...
8376 if test prog,link = "$linkmode,$pass"; then
8411 fi # $linkmode,$pass = prog,link...
8455 if test prog = "$linkmode"; then
8535 if test prog = "$linkmode" || test relink != "$opt_mode"; then
8616 if test prog = "$linkmode"; then
8633 if test prog = "$linkmode" || test relink = "$opt_mode"; then
8671 if test prog = "$linkmode"; then
8679 elif test prog = "$linkmode"; then
8698 # that the program can be linked against the static library.
8711 echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
8712 echo "*** not find such a program. So, this module is probably useless."
8837 if test prog = "$linkmode"; then
8864 if test prog,link = "$linkmode,$pass"; then
8971 if test prog = "$linkmode"; then
8974 if test prog = "$linkmode" || test lib = "$linkmode"; then
9465 # This code stresses the "libraries are programs" paradigm to its
9466 # limits. Maybe even breaks it. We compile a program, linking it
9504 echo "*** its dynamic dependency list that programs get resolved with at runtime."
9515 # the situation: Compile a separate program for each library.
9547 echo "*** as a dynamic dependency that programs can get resolved with at runtime."
9750 echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
9751 echo "*** not find such a program. So, this module is probably useless."
9763 echo "*** automatically added whenever a program is linked with this library"
10464 # accidentally link it into a program.
10484 prog)
10490 func_warning "'-version-info' is ignored for programs"
10493 func_warning "'-release' is ignored for programs"
10765 relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
11055 relink_command="($func_quote_result; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
11224 # LD_LIBRARY_PATH before the program is installed.
11247 # than running their programs.
11260 func_fatal_help "you must specify an RM program"
11367 # Do a test to see if this is a libtool program.