]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Cleanup bison, flex and ragel modules
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 15 Aug 2023 22:04:21 +0000 (00:04 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:39 +0000 (13:28 +0100)
meson.build
meson/bison/meson.build
meson/flex/meson.build
meson/ragel/meson.build

index d0bec45e22ddadd61c9d1ce4800d24176d82dbb3..95d1bfcf8bf399b7361a8efe7bec0191a6e5b2b9 100644 (file)
@@ -37,6 +37,7 @@ subdir('meson' / 'timet-size')              # Check the size of time_t
 subdir('meson' / 'timet-sign')              # Check the sign of time_t
 subdir('meson' / 'flex')                    # Find flex and create generator
 subdir('meson' / 'bison')                   # Find bison and create generator
+subdir('meson' / 'ragel')                   # Find ragel and create generator
 subdir('meson' / 'platform')                # Platform detection
 subdir('meson' / 'atomics')                 # Check atomics support
 subdir('meson' / 'pthread-headers')         # Check pthread headers
@@ -56,7 +57,6 @@ subdir('meson' / 'libssl')                  # OpenSSL libssl
 subdir('meson' / 'gnutls')                  # GnuTLS
 subdir('meson' / 'dot')                     # DNS over TLS
 subdir('meson' / 'ipcipher')                # IPCipher
-subdir('meson' / 'ragel')                   # Find Ragel and create generator
 subdir('meson' / 'clock-gettime')           # Clock_gettime
 subdir('meson' / 'boost')                   # Boost
 subdir('meson' / 'boost-program-options')   # Boost Program Options Library
index 6801c91c8935192e16904e9ea336c1987317250b..9825df8295aa290593e3fb0638c0e36fce326a59 100644 (file)
@@ -1,10 +1,8 @@
-# Find bison
-# Outputs: bison
-
 bison = find_program('bison', required: true)
-summary('bison', bison.found(), bool_yn: true, section: 'Programs')
-# summary('Bison', bison.full_path(), section: 'System')       # TODO Meson 0.55
-# summary('Bison Version', bison.version(), section: 'System') # TODO Meson 0.62
+
+summary('Bison', bison.found(), bool_yn: true, section: 'Programs')
+summary('Bison Path', bison.full_path(), section: 'Programs')
+summary('Bison Version', bison.version(), section: 'Programs')
 
 bison_generator = generator(
   bison,
index 3ab0ad3bf5a61fdc1367c4ae3573479b285fd9b3..1ef5905e3e6781bc82c4891f5c16ecc3c1e054fb 100644 (file)
@@ -1,10 +1,8 @@
-# Find flex
-# Outputs: flex
-
 flex = find_program('flex', required: true)
-summary('flex', flex.found(), bool_yn: true, section: 'Programs')
-# summary('Flex', flex.full_path(), section: 'System')       # TODO Meson 0.55
-# summary('Flex Version', flex.version(), section: 'System') # TODO Meson 0.62
+
+summary('Flex', flex.found(), bool_yn: true, section: 'Programs')
+summary('Flex Path', flex.full_path(), section: 'Programs')
+summary('Flex Version', flex.version(), section: 'Programs')
 
 flex_generator = generator(
   flex,
index 1ce6d8a4f22ebe184c35c4634ed7717054524515..d77aa37e21de031dd975686d596723cf2593f24d 100644 (file)
@@ -1,10 +1,8 @@
-# Find Ragel and create generator
-# Outputs: ragel
-
 ragel = find_program('ragel', required: false)
+
 summary('Ragel', ragel.found(), bool_yn: ragel.found(), section: 'Programs')
-# summary('Ragel', ragel.full_path(), section: 'System')       # TODO Meson 0.55
-# summary('Ragel Version', ragel.version(), section: 'System') # TODO Meson 0.62
+summary('Ragel Path', ragel.full_path(), section: 'Programs')
+summary('Ragel Version', ragel.version(), section: 'Programs')
 
 ragel_generator = generator(
   ragel,