[nautilus-python/wip/jtojnar/meson: 2/3] Remove autotools




commit 2775cf30cddcf569e1931366266364aa0c91b885
Author: Jan Tojnar <jtojnar gmail com>
Date:   Wed Aug 10 20:05:27 2022 +0200

    Remove autotools

 .gitignore            |   43 -
 ChangeLog             |    3 -
 INSTALL               |  368 ---
 Makefile.am           |   15 -
 autogen.sh            |   19 -
 configure.ac          |   98 -
 docs/Makefile.am      |   85 -
 examples/Makefile.am  |   14 -
 m4/aclocal.m4         | 7526 -------------------------------------------------
 m4/python.m4          |  310 --
 nautilus-python.pc.in |    7 -
 src/Makefile.am       |   23 -
 src/meson.build       |    3 -
 src/nautilus-python.c |    4 +-
 14 files changed, 1 insertion(+), 8517 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index e8e1563..26fb550 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -4,9 +4,6 @@ nautilus_python = shared_module(
     'nautilus-python.c',
     'nautilus-python-object.c',
   ],
-  c_args: [
-    '-DHAVE_CONFIG_H'
-  ],
   dependencies: [
     libnautilus_extension,
     pygobject,
diff --git a/src/nautilus-python.c b/src/nautilus-python.c
index 0cfede0..7df609d 100644
--- a/src/nautilus-python.c
+++ b/src/nautilus-python.c
@@ -17,9 +17,7 @@
  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include <Python.h>
 #define NO_IMPORT_PYGOBJECT //To avoid a multiple definition, nautilus-python-object.c also includes and 
does the import.


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