sas Fri Mar 30 06:02:20 2001 EDT Modified files: /php4/build genif.sh print_include.awk Log: Replace the incomprehensible newline escaping with @NEWLINE@ Fixes the build on Darwin 1.2 Index: php4/build/genif.sh diff -u php4/build/genif.sh:1.1 php4/build/genif.sh:1.2 --- php4/build/genif.sh:1.1 Wed Dec 20 09:21:37 2000 +++ php4/build/genif.sh Fri Mar 30 06:02:20 2001 @@ -1,6 +1,6 @@ #! /bin/sh -# $Id: genif.sh,v 1.1 2000/12/20 17:21:37 sas Exp $ +# $Id: genif.sh,v 1.2 2001/03/30 14:02:20 sas Exp $ # replacement for genif.pl infile="$1" @@ -23,7 +23,7 @@ cd $srcdir for ext in ${1+"$@"} ; do - module_ptrs=" phpext_${ext}_ptr,\\\n$module_ptrs" + module_ptrs=" phpext_${ext}_ptr,@NEWLINE@$module_ptrs" header_list="$header_list ext/$ext/*.h" done @@ -35,7 +35,7 @@ sed \ -e "s'@EXT_INCLUDE_CODE@'$includes'" \ -e "s'@EXT_MODULE_PTRS@'$module_ptrs'" \ - -e 's/[\]n/\ + -e 's/@NEWLINE@/\ /g' Index: php4/build/print_include.awk diff -u php4/build/print_include.awk:1.1 php4/build/print_include.awk:1.2 --- php4/build/print_include.awk:1.1 Wed Dec 20 08:29:07 2000 +++ php4/build/print_include.awk Fri Mar 30 06:02:20 2001 @@ -1,6 +1,6 @@ /phpext_/ { if (old_filename != FILENAME) { - printf "#include \"" FILENAME "\"\\\\n" + printf "#include \"" FILENAME "\"@NEWLINE@" old_filename = FILENAME } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]