[amtk] config.h -> amtk-config.h



commit a893a8de11c96a042f98f0161ecc8547d90dde7c
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date:   Thu Sep 9 01:39:29 2021 +0200

    config.h -> amtk-config.h
    
    It's recommended in the Meson manual, to avoid confusion when using
    subprojects.

 amtk/amtk-action-info.c        | 2 +-
 amtk/amtk-application-window.c | 2 +-
 amtk/amtk-init.c               | 2 +-
 meson.build                    | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/amtk/amtk-action-info.c b/amtk/amtk-action-info.c
index 371c8d8..73ab9f5 100644
--- a/amtk/amtk-action-info.c
+++ b/amtk/amtk-action-info.c
@@ -17,7 +17,7 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "config.h"
+#include "amtk-config.h"
 #include "amtk-action-info.h"
 #include <glib/gi18n-lib.h>
 #include "amtk-utils.h"
diff --git a/amtk/amtk-application-window.c b/amtk/amtk-application-window.c
index afe251a..3e35a5a 100644
--- a/amtk/amtk-application-window.c
+++ b/amtk/amtk-application-window.c
@@ -17,7 +17,7 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "config.h"
+#include "amtk-config.h"
 #include "amtk-application-window.h"
 #include <glib/gi18n-lib.h>
 #include "amtk-action-info.h"
diff --git a/amtk/amtk-init.c b/amtk/amtk-init.c
index 006484d..6c18343 100644
--- a/amtk/amtk-init.c
+++ b/amtk/amtk-init.c
@@ -17,7 +17,7 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "config.h"
+#include "amtk-config.h"
 #include "amtk-init.h"
 #include <glib/gi18n-lib.h>
 #include "amtk-action-info-central-store.h"
diff --git a/meson.build b/meson.build
index f724fb9..32ab141 100644
--- a/meson.build
+++ b/meson.build
@@ -46,7 +46,7 @@ AMTK_DEPS = [
   dependency('gtk+-3.0', version: '>= 3.22')
 ]
 
-# config.h
+# amtk-config.h
 
 config_data = configuration_data()
 GETTEXT_PACKAGE_NAME = 'amtk-' + AMTK_API_VERSION
@@ -54,7 +54,7 @@ config_data.set_quoted('GETTEXT_PACKAGE', GETTEXT_PACKAGE_NAME)
 config_data.set_quoted('AMTK_LOCALEDIR', get_option('prefix') / get_option('localedir'))
 
 configure_file(
-  output: 'config.h',
+  output: 'amtk-config.h',
   configuration: config_data
 )
 


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