• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/BerkeleyDB-21/db/dist/

Lines Matching +refs:grep +refs:mode

107 # We save the old values to restore during execute mode.
127 mode=$default_mode
153 # Return a directory name, but don't create it in dry-run mode
170 # If we're not in dry-run mode, bomb out on failure
247 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
430 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
475 $echo "$progname: enabling shell trace mode"
499 --finish) mode="finish" ;;
501 --mode) prevopt="--mode" prev=mode ;;
502 --mode=*) mode="$optarg" ;;
566 # Infer the operation mode.
567 if test -z "$mode"; then
568 $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
569 $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
572 mode=link
577 mode=compile
584 mode=execute
587 mode=install
590 mode=uninstall
593 # If we have no mode, but dlfiles were specified, then do execute mode.
594 test -n "$execute_dlfiles" && mode=execute
596 # Just use the default operation mode.
597 if test -z "$mode"; then
599 $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
601 $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
608 # Only execute mode is allowed to have -dlopen flags.
609 if test -n "$execute_dlfiles" && test "$mode" != execute; then
615 # Change the help message to a mode-specific one.
617 help="Try \`$modename --help --mode=$mode' for more information."
620 case $mode in
621 # libtool compile mode
800 && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
1065 # libtool link mode
1268 if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
1615 # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
1617 # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
1618 # +DA*, +DD* enable 64-bit mode on the HP compiler
1812 if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
2143 grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
2291 if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
2645 if test "$linkmode" = prog || test "$mode" != relink; then
2739 if test "$linkmode" = prog || test "$mode" = relink; then
2887 if grep "^installed=no" $deplib > /dev/null; then
3377 if test "$mode" != relink; then
3629 | grep " -> " >/dev/null; then
3739 | grep . >/dev/null; then
3851 test "$mode" != relink && rpath="$compile_rpath$rpath"
3900 test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
4000 if test "$mode" = relink; then
4153 if test "$mode" = relink; then
4163 if test "$mode" = relink; then
4560 $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
4588 if grep -v "^: " < "$nlist" |
4597 grep -v "^: " < "$nlist" > "$nlist"S
5208 lt_error_core (int exit_status, const char * mode,
5211 fprintf (stderr, "%s: %s: ", program_name, mode);
5262 # This environment variable determines our operation mode.
5264 # install mode needs the following variable:
5267 # When we are sourced in execute mode, \$file and \$echo are already set.
5583 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
5715 # libtool install mode
5723 $echo "X$nonopt" | grep shtool > /dev/null; then
5878 if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
5987 if test "$mode" = relink; then
6082 if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
6222 # libtool finish mode
6257 # Exit here if they wanted silent mode.
6297 # libtool execute mode
6321 if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
6392 if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
6436 # libtool clean and uninstall mode
6438 modename="$modename: $mode"
6475 test "$mode" = uninstall && objdir="$dir"
6478 if test "$mode" = clean; then
6502 if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
6511 case "$mode" in
6560 if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
6580 if test "$mode" = clean ; then
6592 if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
6633 $echo "$modename: invalid operation mode \`$mode'" 1>&2
6645 case $mode in
6655 --finish same as \`--mode=finish'
6657 --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
6673 MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
6682 "Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
6696 "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
6700 This mode accepts the following additional options:
6717 "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
6721 This mode accepts the following additional options:
6725 This mode sets the library path environment variable according to \`-dlopen'
6737 "Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
6743 The commands that this mode executes may require superuser privileges. Use
6749 "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
6762 "Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
6784 -no-fast-install disable the fast-install mode
6817 "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
6830 $echo "$modename: invalid operation mode \`$mode'" 1>&2
6861 # mode:shell-script