Ticket #28951: patch_doc_auto-opts.tpl.diff
File patch_doc_auto-opts.tpl.diff, 1.2 KB (added by rmstonecipher@…, 14 years ago) |
---|
-
doc/auto-opts.tpl
old new 104 104 @item 105 105 @code{autogen checkopt.def} 106 106 @item 107 @code{ cc-o check -g $@{cflags@} checkopt.c $@{ldflags@}}107 @code{%%CONFIGURE.CC%% -o check -g $@{cflags@} checkopt.c $@{ldflags@}} 108 108 @item 109 109 @code{./check --help} 110 110 @end enumerate … … 188 188 autogen default-test.def 189 189 copts="-DTEST_DEFAULT_TEST_OPTS `autoopts-config cflags`" 190 190 lopts="`autoopts-config ldflags`" 191 cc-o default-test $@{copts@} default-test.c $@{lopts@}191 %%CONFIGURE.CC%% -o default-test $@{copts@} default-test.c $@{lopts@} 192 192 @end example 193 193 194 194 @noindent … … 304 304 With that text in a file named ``hello.c'', this short script: 305 305 306 306 @example 307 cc-o hello hello.c `autoopts-config cflags ldflags`307 %%CONFIGURE.CC%% -o hello hello.c `autoopts-config cflags ldflags` 308 308 ./hello 309 309 echo 'greeting Buzz off' > hello.conf 310 310 ./hello … … 318 318 @example 319 319 [= (texi-escape-encode (shell " 320 320 cd ${tmp_dir} 321 cc-o hello hello.c ${CFLAGS} ${LIBS} ${LDFLAGS} || \321 %%CONFIGURE.CC%% -o hello hello.c ${CFLAGS} ${LIBS} ${LDFLAGS} || \ 322 322 die cannot compile hello 323 323 ./hello 324 324 echo 'greeting Buzz off' > hello.conf