Lines Matching refs:mode

78 # We save the old values to restore during execute mode.
99 mode=$default_mode
154 echo "$progname: enabling shell trace mode"
177 --finish) mode="finish" ;;
179 --mode) prevopt="--mode" prev=mode ;;
180 --mode=*) mode="$optarg" ;;
212 # Infer the operation mode.
213 if test -z "$mode"; then
216 mode=link
221 mode=compile
228 mode=execute
231 mode=install
234 mode=uninstall
237 # If we have no mode, but dlfiles were specified, then do execute mode.
238 test -n "$execute_dlfiles" && mode=execute
240 # Just use the default operation mode.
241 if test -z "$mode"; then
243 $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
245 $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
252 # Only execute mode is allowed to have -dlopen flags.
253 if test -n "$execute_dlfiles" && test "$mode" != execute; then
259 # Change the help message to a mode-specific one.
261 help="Try \`$modename --help --mode=$mode' for more information."
264 case "$mode" in
265 # libtool compile mode
621 # libtool link mode
2813 # This environment variable determines our operation mode.
2815 # install mode needs the following variable:
2818 # When we are sourced in execute mode, \$file and \$echo are already set.
3137 # libtool install mode
3533 # libtool finish mode
3567 # Exit here if they wanted silent mode.
3607 # libtool execute mode
3749 # libtool uninstall mode
3844 $echo "$modename: invalid operation mode \`$mode'" 1>&2
3850 case "$mode" in
3860 --finish same as \`--mode=finish'
3862 --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
3876 MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
3883 "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
3887 This mode accepts the following additional options:
3902 "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
3906 This mode accepts the following additional options:
3910 This mode sets the library path environment variable according to \`-dlopen'
3922 "Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
3928 The commands that this mode executes may require superuser privileges. Use
3934 "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
3947 "Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
3997 "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
4010 $echo "$modename: invalid operation mode \`$mode'" 1>&2
4022 # mode:shell-script