Parent Directory | Revision Log | Revision Graph | Patch
revision 1.1 by adcroft, Mon Nov 24 14:54:12 2003 UTC | revision 1.2 by adcroft, Tue Nov 25 14:18:50 2003 UTC | |
---|---|---|
# | Line 20 cat << EOF | Line 20 cat << EOF |
20 | ||
21 | EOF | EOF |
22 | ||
23 | BARRIER= | |
24 | ||
25 | for ac_option ; do | for ac_option ; do |
26 | case $ac_option in | case $ac_option in |
27 | -b*) | |
28 | BARRIER=`echo $ac_option | sed 's/-b//'` | |
29 | echo "#ifndef ${BARRIER}" | |
30 | echo "#define ${BARRIER}" | |
31 | ;; | |
32 | -D*) | -D*) |
33 | echo $ac_option | sed 's/-D/#define /' | sed 's/=/ /' | echo $ac_option | sed 's/-D/#define /' | sed 's/=/ /' |
34 | ;; | ;; |
# | Line 33 for ac_option ; do | Line 40 for ac_option ; do |
40 | ;; | ;; |
41 | esac | esac |
42 | done | done |
43 | ||
44 | if test ! "x${BARRIER}" = x ; then | |
45 | echo "#endif /* ${BARRIER} */" | |
46 | fi |
|
ViewVC Help | |
Powered by ViewVC 1.1.22 |