Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Got bored during a meeting: fix the copyright notice of several useless files (found...
[simgrid.git] / acmacro / flex.m4
index 920f752..b7b0fe6 100644 (file)
@@ -3,6 +3,14 @@ dnl The first arg must be a version number with 3 parts.
 
 dnl You may want to check for version >= 2.5.31 (the one breaking posix compatibility)
 
+
+dnl Copyright (C) 2005. Martin Quinson. All rights reserved.
+
+dnl This file is part of the SimGrid project. This is free software: 
+dnl You can redistribute and/or modify it under the terms of the 
+dnl GNU LGPL (v2.1) licence.
+
+
 AC_DEFUN([_AC_PROG_FLEX_HELPER_TOO_OLD],[
   AC_MSG_NOTICE([Found flex is too old. Parsers won't get updated (Found v$FLEX_VERSION < v$1)])
   LEX="$SHELL $missing_dir/missing flex";
@@ -42,8 +50,9 @@ AC_REQUIRE([AC_PROG_LEX])dnl
         AC_MSG_NOTICE([Found flex is too old. Parsers won't get updated (Found v$FLEX_VERSION < v$1)])
         LEX=${am_missing_run}flex
         AC_SUBST(LEXLIB, '')
+      else
+        AC_MSG_NOTICE([Flex found. Parsers will get updated])      
       fi
     fi
   fi
-  AC_MSG_NOTICE([Flex found. Parsers will get updated])
 ])