Add comment in config.h
authorfrdupin
Mon, 29 Jan 2007 14:33:45 +0100
changeset 77 7b552428b48a
parent 76 68e1c52d603d
child 78 ac05410cc1b8
Add comment in config.h
configure
--- a/configure	Mon Jan 29 14:32:58 2007 +0100
+++ b/configure	Mon Jan 29 14:33:45 2007 +0100
@@ -590,7 +590,9 @@
 
 # Create include/config.h with the relevant contents
 rm -f include/config.h
-echo "/*"\ >  include/config.h
+echo "/* !!!!!!!!!! FILE GENERATED by configure. DO NOT EDIT !!!!!!!!!!*/" >>  include/config.h
+echo "" >>  include/config.h
+echo "/*"\ >>  include/config.h
 echo "This file is part of CanFestival, a library implementing CanOpen Stack." >> include/config.h
 echo "" >> include/config.h
 echo "Copyright (C): Edouard TISSERANT and Francis DUPIN" >> include/config.h
@@ -628,7 +630,7 @@
  TIMEVAL_MAX\
  RTCAN_SOCKET; do
 if [ "${!i}" = "" ]; then
-echo "// $i is not defined" >> include/config.h
+echo "/* $i is not defined */" >> include/config.h
 else
 echo "#define $i ${!i}" >> include/config.h
 fi