From fd04ef9f4be6864979f1018273255e26650eb68b Mon Sep 17 00:00:00 2001
From: MichelJuillard <michel.juillard@mjui.fr>
Date: Sat, 16 Dec 2023 21:17:00 +0100
Subject: [PATCH] fix src/meson.build

---
 src/meson.build | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/meson.build b/src/meson.build
index 63c10ba8..51617142 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -16,12 +16,11 @@ if not cpp_compiler.has_header('FlexLexer.h')
   copy = find_program('copy.py')
   fs = import('fs')
   run_command(
-	  copy,
-    	  fs.parent(fs.parent(flex_exe.full_path())) / 'include' / 'FlexLexer.h', 
-    	  'FlexLexer.h'
-	  )
-#  flexlexer_h = '../../src/FlexLexer.h'
-  flexlexer_h = 'FlexLexer.h'
+         copy,
+         fs.parent(fs.parent(flex_exe.full_path())) / 'include' / 'FlexLexer.h', 
+         'FlexLexer.h'
+         )
+  flexlexer_h = []	
 else
   flexlexer_h = []
 endif
@@ -64,7 +63,7 @@ preprocessor_src = [ 'ComputingTasks.cc',
 	             'macro/Environment.cc',
 	             'macro/Expressions.cc',
 	             'macro/Directives.cc' ]
-		     
+
 executable('dynare-preprocessor', preprocessor_src, flex_src, flexlexer_h, bison_src,
            include_directories : preprocessor_incdir, dependencies : boost_dep,
            link_args : [],
-- 
GitLab