cvs: livedocs / aclocal.m4 configure.in

From: Date: Thu, 10 Feb 2005 12:55:20 +0000
Subject: cvs: livedocs / aclocal.m4 configure.in
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969366496@lists.php.net to get a copy of this message
edink Thu Feb 10 07:55:20 2005 EDT Added files: /livedocs aclocal.m4 Modified files: /livedocs configure.in Log: Separate autoconf local macros http://cvs.php.net/diff.php/livedocs/configure.in?r1=1.32&r2=1.33&ty=u Index: livedocs/configure.in diff -u livedocs/configure.in:1.32 livedocs/configure.in:1.33 --- livedocs/configure.in:1.32 Thu Feb 10 07:30:47 2005 +++ livedocs/configure.in Thu Feb 10 07:55:20 2005 @@ -1,20 +1,9 @@ ## A configure script -## $Id: configure.in,v 1.32 2005/02/10 12:30:47 edink Exp $ +## $Id: configure.in,v 1.33 2005/02/10 12:55:20 edink Exp $ AC_PREREQ(2.13) AC_INIT(livedoc.php) - -dnl Generate config.nice (primitive, but saves some brain power) -dnl need to do this before other stuff eats up our args - -echo "#!/bin/sh" > config.nice -echo "./configure \\" >> config.nice -for arg in "$@"; do - echo "'$arg' \\" >> config.nice; -done -echo '"$@"' >> config.nice - -chmod +x config.nice +LIVEDOCS_CONFIG_NICE(config.nice) AC_ARG_WITH(php,[ --with-php[=PATH] Look for PHP executable needed for livedocs scripts], [ http://cvs.php.net/co.php/livedocs/aclocal.m4?r=1.1&p=1 Index: livedocs/aclocal.m4 +++ livedocs/aclocal.m4 dnl $Id: aclocal.m4,v 1.1 2005/02/10 12:55:20 edink Exp $ dnl dnl This file contains local autoconf functions. dnl LIVEDOCS_CONFIG_NICE(filename) dnl dnl Generates filename (config.nice) which contains dnl last used configure arguments. It allows for additional dnl parameters to be passed to configure. dnl AC_DEFUN([LIVEDOCS_CONFIG_NICE],[ test -f $1 && mv $1 $1.old rm -f $1.old cat >$1<<EOF #! /bin/sh # # Created by configure EOF for arg in [$]0 "[$]@"; do echo "'[$]arg' \\" >> $1 done echo '"[$]@"' >> $1 chmod +x $1 ])

« previous php.doc (#969366496) next »