📄 cond5.test
字号:
#! /bin/sh# Yet another sources-in-conditional test. Report from Tim Goodwin.. $srcdir/defs || exit 1cat > configure.in << 'END'AM_INIT_AUTOMAKE(nonesuch, nonesuch)AC_PROG_CCAM_CONDITIONAL(ONE, true)AM_CONDITIONAL(TWO, false)AC_OUTPUT(Makefile)ENDcat > Makefile.am << 'END'bin_PROGRAMS = targif ONEOPT_SRC = one.cendifif TWOOPT_SRC = $(OPT_SRC) two.cendiftarg_SOURCES = main.c $(OPT_SRC)END# The bug is that automake hangs. So we give it a few seconds and# then kill it.$AUTOMAKE &pid=$!sleep 5kill -0 $pid && { kill $pid exit 1}exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -