[libsoup] meson: Move unixd check code to Apache block



commit ea0485e8ed9756255b38482ebb541190c05f6e33
Author: Tomas Popela <tpopela redhat com>
Date:   Mon Apr 16 15:26:09 2018 +0200

    meson: Move unixd check code to Apache block

 meson.build |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 17b6526..057198e 100644
--- a/meson.build
+++ b/meson.build
@@ -127,6 +127,8 @@ if have_apache
     have_apache = apache_module_dir != '' and apache_ssl_module_dir != ''
     cdata.set('HAVE_APACHE', have_apache)
     cdata.set('APACHE_PHP_MODULE_DIR', apache_module_dirs.stdout().split(':')[2])
+    apache_mod_unixd = run_command('test', '-f', cdata.get('APACHE_MODULE_DIR') + '/mod_unixd.so')
+    cdata.set('IF_HAVE_MOD_UNIXD', apache_mod_unixd.returncode() == 0 ? '' : '#')
   endif
 endif
 
@@ -145,8 +147,6 @@ if have_apache
     endif
   endif
   cdata.set('IF_HAVE_PHP', have_php ? '' : '#')
-  apache_mod_unixd = run_command('test', '-f', cdata.get('APACHE_MODULE_DIR') + '/mod_unixd.so')
-  cdata.set('IF_HAVE_MOD_UNIXD', apache_mod_unixd.returncode() == 0 ? '' : '#')
 endif
 
 cdata.set('HAVE_CURL', find_program('curl', required : false).found())


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]