Browse Source

update autogen.sh

Dave Beckett 5 years ago
parent
commit
85881ef1d6
1 changed files with 6 additions and 4 deletions
  1. 6 4
      autogen.sh

+ 6 - 4
autogen.sh

@@ -363,10 +363,12 @@ do
 	fi
       fi
 
-      if test ! -f NEWS; then
-        echo "$program: Creating empty NEWS file to allow configure to work"
-        $DRYRUN touch -t 200001010000 NEWS
-      fi
+      for docs in NEWS README; do
+	if test ! -f $docs; then
+	  echo "$program: Creating empty $docs file to allow configure to work"
+	  $DRYRUN touch -t 200001010000 $docs
+	fi
+      done
 
       echo "$program: Running $aclocal $aclocal_args"
       $DRYRUN $aclocal $aclocal_args