diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-03-07 11:29:20 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-03-07 11:29:20 +0100 |
commit | c61b65efb27bc543ec864ab01abca538d21fb8fc (patch) | |
tree | 7f7b81bb7d39ba096b1697f31fcfa74c0d3fdb38 /guile | |
parent | 05db308cf7a8c192f03e431bcb8e0668e363d16e (diff) | |
download | gnutls-c61b65efb27bc543ec864ab01abca538d21fb8fc.tar.gz |
guile: Include <config.h>, not "config.h".
Diffstat (limited to 'guile')
-rw-r--r-- | guile/src/make-enum-header.scm | 8 | ||||
-rw-r--r-- | guile/src/utils.h | 7 |
2 files changed, 10 insertions, 5 deletions
diff --git a/guile/src/make-enum-header.scm b/guile/src/make-enum-header.scm index d7e7aeede8..041527dd6e 100644 --- a/guile/src/make-enum-header.scm +++ b/guile/src/make-enum-header.scm @@ -1,7 +1,7 @@ ;;; Help produce Guile wrappers for GnuTLS types. ;;; ;;; GNUTLS --- Guile bindings for GnuTLS. -;;; Copyright (C) 2007 Free Software Foundation +;;; Copyright (C) 2007, 2008 Free Software Foundation ;;; ;;; GNUTLS is free software; you can redistribute it and/or ;;; modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ ;;; License along with GNUTLS; if not, write to the Free Software ;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -;;; Written by Ludovic Courtès <ludo@chbouib.org>. +;;; Written by Ludovic Courtès <ludo@gnu.org>. (use-modules (gnutls build enums)) @@ -40,7 +40,9 @@ (format port "#define GUILE_GNUTLS_~aENUMS_H~%" (if extra? "EXTRA_" "")) - (format port "#include \"config.h\"~%") + (format port "#ifdef HAVE_CONFIG_H~%") + (format port "# include <config.h>~%") + (format port "#endif~%~%") (format port "#include <gnutls/gnutls.h>~%") (format port "#include <gnutls/x509.h>~%") diff --git a/guile/src/utils.h b/guile/src/utils.h index 8a30ff5987..17e3655d58 100644 --- a/guile/src/utils.h +++ b/guile/src/utils.h @@ -1,5 +1,5 @@ /* GNUTLS --- Guile bindings for GnuTLS. - Copyright (C) 2007 Free Software Foundation + Copyright (C) 2007, 2008 Free Software Foundation GNUTLS is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -20,7 +20,10 @@ /* Common utilities. */ -#include "config.h" +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <libguile.h> |