asynciodebian/masterdebian/stretch-backportsjessie-backportsmainmsvaproxy-ticketupstream
Last change
on this file since b01d6a2 was
abce298,
checked in by Nokis Mavrogiannopoulos <nmav@…>, 15 years ago
|
added new m4 directory
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
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 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.