This commit is contained in:
zerofrog
2008-10-12 10:12:25 +00:00
parent c831c370cb
commit 109325ea36
2 changed files with 3 additions and 1 deletions

View File

@@ -6198,7 +6198,7 @@ echo "$as_me: executing $ac_file commands" >&6;}
# each Makefile.in and add a new line on top of each file to say so.
# Grep'ing the whole file is not good either: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
dirpart=`$as_dirname -- "$mf" ||
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$mf" : 'X\(//\)[^/]' \| \

View File

@@ -5,6 +5,8 @@
#include <alloca.h>
#endif
#include <string.h>
#ifndef PI
#define PI ((dReal)3.141592654)
#endif