ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/pack/ubuntu/mod-transform/mod-transform-0.6.0/m4/outoforder.m4
Revision: 64
Committed: 2009-02-01T05:02:11-08:00 (16 years, 4 months ago) by douglas
File size: 1028 byte(s)
Log Message:
Ubuntu package for mod_transform.

File Contents

# Content
1 dnl m4 for utility macros used by all out of order projects
2
3 dnl this writes a "config.nice" file which reinvokes ./configure with all
4 dnl of the arguments. this is different from config.status which simply
5 dnl regenerates the output files. config.nice is useful after you rebuild
6 dnl ./configure (via autoconf or autogen.sh)
7 AC_DEFUN(OOO_CONFIG_NICE,[
8 echo configure: creating $1
9 rm -f $1
10 cat >$1<<EOF
11 #! /bin/sh
12 #
13 # Created by configure
14
15 EOF
16
17 for arg in [$]0 "[$]@"; do
18 if test "[$]arg" != "--no-create" -a "[$]arg" != "--no-recursion"; then
19 echo "\"[$]arg\" \\" >> $1
20 fi
21 done
22 echo '"[$]@"' >> $1
23 chmod +x $1
24 ])
25
26 dnl this macro adds a maintainer mode option to enable programmer specific
27 dnl code in makefiles
28 AC_DEFUN(OOO_MAINTAIN_MODE,[
29 AC_ARG_ENABLE(
30 maintainer,
31 [AC_HELP_STRING([--enable-maintainer],[Enable maintainer mode for this project])],
32 AC_MSG_RESULT([Enabling Maintainer Mode!!])
33 OOO_MAINTAIN=1,
34 OOO_MAINTAIN=0)
35 AC_SUBST(OOO_MAINTAIN)
36 ])