Commit ba0039f8 authored by Sébastien Wilmet's avatar Sébastien Wilmet

Include config.h only if HAVE_CONFIG_H

This is a good practice when using the Autotools.
parent 74d5a68c
......@@ -18,7 +18,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-checker-dialog.h"
#include <glib/gi18n-lib.h>
#include "gspell-checker.h"
......
......@@ -18,7 +18,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-checker.h"
#include "gspell-checker-private.h"
#include <enchant.h>
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-context-menu.h"
#include <glib/gi18n-lib.h>
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-current-word-policy.h"
/* An object that decides whether to check the current word. When a word is
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-entry-buffer.h"
/**
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-entry-utils.h"
#include <string.h>
#include "gspell-utils.h"
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-entry.h"
#include "gspell-entry-private.h"
#include "gspell-entry-buffer.h"
......
/*** BEGIN file-header ***/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-enum-types.h"
/*** END file-header ***/
......
......@@ -23,7 +23,10 @@
* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-init.h"
#include <glib/gi18n-lib.h>
#include "gconstructor.h"
......
......@@ -22,7 +22,10 @@
* Copyright 2002 - Evan Martin
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-inline-checker-text-buffer.h"
#include <string.h>
#include <glib/gi18n-lib.h>
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-language-chooser-button.h"
#include <glib/gi18n-lib.h>
#include "gspell-language-chooser.h"
......
......@@ -18,7 +18,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-language-chooser-dialog.h"
#include "gspell-language-chooser.h"
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-language-chooser.h"
/**
......
......@@ -19,7 +19,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-language.h"
#include <string.h>
#include <glib/gi18n-lib.h>
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-navigator-text-view.h"
#include <glib/gi18n-lib.h>
#include "gspell-text-buffer.h"
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-navigator.h"
/**
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-osx.h"
#include <gtkosxapplication.h>
#import <Cocoa/Cocoa.h>
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-text-buffer.h"
/**
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-text-iter.h"
#include "gspell-utils.h"
......
......@@ -17,7 +17,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-text-view.h"
#include <glib/gi18n-lib.h>
#include "gspell-inline-checker-text-buffer.h"
......
......@@ -18,7 +18,10 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspell-utils.h"
#include <string.h>
#include "gspell-text-iter.h"
......
......@@ -22,7 +22,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "config.h"
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "gspellregion.h"
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment