Revert use of config.h

Revert
7162e8db74
088493d499

And drop AC_CONFIG_HEADERS so that config goes though the command line.
No longer generating config.h, update .gitignore
This commit is contained in:
Nirgal Vourgère 2013-07-15 02:42:12 +02:00
parent 05980343ec
commit 7841d30d43
65 changed files with 9 additions and 69 deletions

3
.gitignore vendored
View File

@ -19,10 +19,7 @@ Makefile.in
Makefile Makefile
doc/*.1 doc/*.1
INSTALL INSTALL
include/config.h
include/config.h.in
include/mdbver.h include/mdbver.h
include/stamp-h1
libmdb.pc libmdb.pc
libmdbsql.pc libmdbsql.pc
libtool libtool

View File

@ -8,8 +8,6 @@ AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE([enable]) AM_MAINTAINER_MODE([enable])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_HEADERS(include/config.h)
AC_PROG_CC(gcc) AC_PROG_CC(gcc)
dnl Checks for programs. dnl Checks for programs.
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
@ -39,6 +37,9 @@ if test "$am_cv_gcc_have_attribute_alias" = "yes"; then
CFLAGS="$CFLAGS -DHAVE_ATTRIBUTE_ALIAS" CFLAGS="$CFLAGS -DHAVE_ATTRIBUTE_ALIAS"
fi fi
CFLAGS="$CFLAGS -I$(top_builddir)/include"
dnl no optional stuff by default dnl no optional stuff by default
OPTDIRS="" OPTDIRS=""

View File

@ -24,8 +24,6 @@
* exported to calling programs. * exported to calling programs.
*/ */
#include <config.h>
#define _(String) (String) #define _(String) (String)
#define N_(String) String #define N_(String) String
#define textdomain(Domain) #define textdomain(Domain)

View File

@ -1,6 +1,6 @@
bin_PROGRAMS = mdb-hexdump bin_PROGRAMS = mdb-hexdump
mdb_hexdump_SOURCES = mdb-dump.c mdbsupport.c mdb_hexdump_SOURCES = mdb-dump.c mdbsupport.c
EXTRA_DIST = mdbsupport.h EXTRA_DIST = mdbsupport.h
AM_CFLAGS = $(GLIB_CFLAGS) AM_CFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS)
LDADD = ../libmdb/libmdb.la LDADD = ../libmdb/libmdb.la
LIBS = $(GLIB_LIBS) LIBS = $(GLIB_LIBS)

View File

@ -1,6 +1,5 @@
/* utility program to make a hex dump of a binary file (such as a mdb file) */ /* utility program to make a hex dump of a binary file (such as a mdb file) */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>

View File

@ -1,6 +1,5 @@
/* support routines for code generated by the util programs */ /* support routines for code generated by the util programs */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -4,7 +4,7 @@ include_HEADERS = gmdb.h
gmdb2_SOURCES = main2.c file.c table.c info.c table_def.c table_data.c table_export.c debug.c sql.c schema.c prefs.c gmdb2_SOURCES = main2.c file.c table.c info.c table_def.c table_data.c table_export.c debug.c sql.c schema.c prefs.c
LIBS = -rdynamic $(GNOME_LIBS) @LIBS@ @LEXLIB@ LIBS = -rdynamic $(GNOME_LIBS) @LIBS@ @LEXLIB@
AM_CFLAGS = $(GNOME_CFLAGS) \ AM_CFLAGS = -I$(top_srcdir)/include $(GNOME_CFLAGS) \
-DDATADIR="\"$(datadir)\"" \ -DDATADIR="\"$(datadir)\"" \
-DGMDB_ICONDIR="\"$(datadir)/gmdb/glade/\"" \ -DGMDB_ICONDIR="\"$(datadir)/gmdb/glade/\"" \
-DGMDB_GLADEDIR="\"$(datadir)/gmdb/glade/\"" -DGMDB_GLADEDIR="\"$(datadir)/gmdb/glade/\""

View File

@ -23,7 +23,6 @@
* gboolean *dissect: whether dissecting is turned on * gboolean *dissect: whether dissecting is turned on
*/ */
#include "config.h"
#include <glade/glade.h> #include <glade/glade.h>
#include <gtk/gtkmessagedialog.h> #include <gtk/gtkmessagedialog.h>
#include <libgnome/gnome-i18n.h> #include <libgnome/gnome-i18n.h>

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include <gtk/gtkiconview.h> #include <gtk/gtkiconview.h>
#include <gtk/gtkliststore.h> #include <gtk/gtkliststore.h>
#include <gtk/gtkmessagedialog.h> #include <gtk/gtkmessagedialog.h>

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "gmdb.h" #include "gmdb.h"
extern GtkWidget *app; extern GtkWidget *app;

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include <gnome.h> #include <gnome.h>
#include <libgnome/gnome-help.h> #include <libgnome/gnome-help.h>
#include <glade/glade.h> #include <glade/glade.h>

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include <libgnome/gnome-config.h> #include <libgnome/gnome-config.h>
#include <libgnome/gnome-help.h> #include <libgnome/gnome-help.h>
#include "gmdb.h" #include "gmdb.h"

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include <gtk/gtkmessagedialog.h> #include <gtk/gtkmessagedialog.h>
#include <libgnome/gnome-i18n.h> #include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-help.h> #include <libgnome/gnome-help.h>

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include <gtk/gtkmessagedialog.h> #include <gtk/gtkmessagedialog.h>
#include <libgnome/gnome-i18n.h> #include <libgnome/gnome-i18n.h>
#include "gmdb.h" #include "gmdb.h"

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include <gtk/gtkiconview.h> #include <gtk/gtkiconview.h>
#include <glade/glade.h> #include <glade/glade.h>
#include "gmdb.h" #include "gmdb.h"

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "gmdb.h" #include "gmdb.h"
extern GtkWidget *app; extern GtkWidget *app;

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "gmdb.h" #include "gmdb.h"
#define COL_PK 0 #define COL_PK 0

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gtk/gtkmessagedialog.h> #include <gtk/gtkmessagedialog.h>
#include <libgnome/gnome-i18n.h> #include <libgnome/gnome-i18n.h>

View File

@ -1,5 +1,5 @@
lib_LTLIBRARIES = libmdb.la lib_LTLIBRARIES = libmdb.la
libmdb_la_SOURCES= catalog.c mem.c file.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c worktable.c options.c iconv.c libmdb_la_SOURCES= catalog.c mem.c file.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c worktable.c options.c iconv.c
libmdb_la_LDFLAGS = -version-info 2:1:0 -export-symbols-regex '^(mdb_|_mdb_put_int16$$|_mdb_put_int32$$)' libmdb_la_LDFLAGS = -version-info 2:1:0 -export-symbols-regex '^(mdb_|_mdb_put_int16$$|_mdb_put_int32$$)'
AM_CFLAGS = $(GLIB_CFLAGS) AM_CFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS)
LIBS = $(GLIB_LIBS) @LIBS@ @LIBICONV@ LIBS = $(GLIB_LIBS) @LIBS@ @LIBICONV@

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#ifdef JAVA #ifdef JAVA
#include "javadefines.h" #include "javadefines.h"
#define MdbBackendType_STRUCT_ELEMENT(a,b,c,d) new MdbBackendType(a,b,c,d) #define MdbBackendType_STRUCT_ELEMENT(a,b,c,d) new MdbBackendType(a,b,c,d)

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <time.h> #include <time.h>
#include <math.h> #include <math.h>
#include "mdbtools.h" #include "mdbtools.h"

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <ctype.h> #include <ctype.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <inttypes.h> #include <inttypes.h>
#include "mdbtools.h" #include "mdbtools.h"

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <errno.h> #include <errno.h>
#include "mdbtools.h" #include "mdbtools.h"

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "mdbtools.h" #include "mdbtools.h"

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
MDB_DEPRECATED(void, MDB_DEPRECATED(void,

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include "mdbtools.h" #include "mdbtools.h"

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
static GPtrArray * static GPtrArray *

View File

@ -27,7 +27,6 @@
* a mdb_test_[type]() function and invoke it from mdb_test_sarg() * a mdb_test_[type]() function and invoke it from mdb_test_sarg()
*/ */
#include "config.h"
#include <time.h> #include <time.h>
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <time.h> #include <time.h>
#include <math.h> #include <math.h>
#include <inttypes.h> #include <inttypes.h>

View File

@ -1,6 +1,6 @@
noinst_PROGRAMS = unittest noinst_PROGRAMS = unittest
lib_LTLIBRARIES = libmdbodbc.la lib_LTLIBRARIES = libmdbodbc.la
AM_CFLAGS = $(GLIB_CFLAGS) $(ODBC_CFLAGS) AM_CFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS) $(ODBC_CFLAGS)
libmdbodbc_la_SOURCES = odbc.c connectparams.c mdbodbc.h connectparams.h libmdbodbc_la_SOURCES = odbc.c connectparams.c mdbodbc.h connectparams.h
libmdbodbc_la_LIBADD = ../libmdb/libmdb.la ../sql/libmdbsql.la libmdbodbc_la_LIBADD = ../libmdb/libmdb.la ../sql/libmdbsql.la
libmdbodbc_la_LDFLAGS = -avoid-version -export-symbols-regex '^(SQL|ODBCINST)' libmdbodbc_la_LDFLAGS = -avoid-version -export-symbols-regex '^(SQL|ODBCINST)'

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -21,7 +21,6 @@
#define UNICODE #define UNICODE
#endif //ENABLE_ODBC_W #endif //ENABLE_ODBC_W
#include "config.h"
#include <sql.h> #include <sql.h>
#include <sqlext.h> #include <sqlext.h>
#include <string.h> #include <string.h>

View File

@ -17,7 +17,6 @@
*/ */
/* #include <windows.h> */ /* #include <windows.h> */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <sql.h> #include <sql.h>
#include <sqlext.h> #include <sqlext.h>

View File

@ -2,7 +2,7 @@ lib_LTLIBRARIES = libmdbsql.la
libmdbsql_la_SOURCES= mdbsql.c parser.y lexer.l libmdbsql_la_SOURCES= mdbsql.c parser.y lexer.l
libmdbsql_la_LDFLAGS = -version-info 2:0:0 -export-symbols-regex '^mdb_sql_' libmdbsql_la_LDFLAGS = -version-info 2:0:0 -export-symbols-regex '^mdb_sql_'
CLEANFILES = parser.c parser.h lexer.c CLEANFILES = parser.c parser.h lexer.c
AM_CFLAGS = $(GLIB_CFLAGS) AM_CFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS)
LIBS = $(GLIB_LIBS) LIBS = $(GLIB_LIBS)
libmdbsql_la_LIBADD = ../libmdb/libmdb.la libmdbsql_la_LIBADD = ../libmdb/libmdb.la
YACC = @YACC@ -d YACC = @YACC@ -d

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include "mdbsql.h" #include "mdbsql.h"

View File

@ -2,7 +2,7 @@ bin_PROGRAMS = mdb-export mdb-array mdb-schema mdb-tables mdb-parsecsv mdb-heade
noinst_PROGRAMS = mdb-import prtable prcat prdata prkkd prdump prole updrow prindex noinst_PROGRAMS = mdb-import prtable prcat prdata prkkd prdump prole updrow prindex
LIBS = $(GLIB_LIBS) @LIBS@ @LEXLIB@ LIBS = $(GLIB_LIBS) @LIBS@ @LEXLIB@
DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\"
AM_CFLAGS = $(GLIB_CFLAGS) AM_CFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS)
LDADD = ../libmdb/libmdb.la LDADD = ../libmdb/libmdb.la
if SQL if SQL
mdb_sql_LDADD = ../libmdb/libmdb.la ../sql/libmdbsql.la $(LIBREADLINE) mdb_sql_LDADD = ../libmdb/libmdb.la ../sql/libmdbsql.la $(LIBREADLINE)

View File

@ -19,7 +19,6 @@
/* this is inherited from mdb-export.c, modified to make arrays similar to /* this is inherited from mdb-export.c, modified to make arrays similar to
those generated by parsecsv.c */ those generated by parsecsv.c */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -18,7 +18,6 @@
/* this utility dumps the schema for an existing database */ /* this utility dumps the schema for an existing database */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -19,7 +19,6 @@
/* this utility dumps the C headers for an existing database */ /* this utility dumps the C headers for an existing database */
/* it will create three files - types.h and dump_types.[ch] */ /* it will create three files - types.h and dump_types.[ch] */
#include "config.h"
#include <string.h> #include <string.h>
#include "mdbtools.h" #include "mdbtools.h"

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#define MAX_ROW_SIZE 4096 #define MAX_ROW_SIZE 4096

View File

@ -20,7 +20,6 @@
/* input FOO.txt, output FOO.c */ /* input FOO.txt, output FOO.c */
/* generates an array of type FOO */ /* generates an array of type FOO */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
void dump_kkd(MdbHandle *mdb, void *kkd, size_t len); void dump_kkd(MdbHandle *mdb, void *kkd, size_t len);

View File

@ -17,7 +17,6 @@
*/ */
/* this utility dumps the schema for an existing database */ /* this utility dumps the schema for an existing database */
#include "config.h"
#include <ctype.h> #include <ctype.h>
#include <getopt.h> #include <getopt.h>
#include "mdbtools.h" #include "mdbtools.h"

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_LIBREADLINE #ifdef HAVE_LIBREADLINE

View File

@ -18,7 +18,6 @@
/* this utility dumps the schema for an existing database */ /* this utility dumps the schema for an existing database */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#ifdef DMALLOC #ifdef DMALLOC

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include <locale.h> #include <locale.h>
#include "mdbtools.h" #include "mdbtools.h"
#include "mdbver.h" #include "mdbver.h"

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
int int

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
int int

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
int int

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
int int

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
extern char idx_to_text[]; extern char idx_to_text[];

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
int int

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
void dump_ole(MdbTableDef *table, char *colname, char *sargname); void dump_ole(MdbTableDef *table, char *colname, char *sargname);

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
int int

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
#define TABLE_NAME "Orders" #define TABLE_NAME "Orders"

View File

@ -16,7 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "config.h"
#include "mdbtools.h" #include "mdbtools.h"
void read_to_row(MdbTableDef *table, char *sargname); void read_to_row(MdbTableDef *table, char *sargname);