summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorkent@mysql.com/kent-amd64.(none) <>2007-07-30 21:09:45 +0200
committerkent@mysql.com/kent-amd64.(none) <>2007-07-30 21:09:45 +0200
commita9d2569cba4ff0e9c419d26d4e2005337e047984 (patch)
treed7889999d2852a9bed51f043da21bf534596a6c2 /cmd-line-utils
parenta0571dedb3d9368b8a60131477e8c1d4e55f986d (diff)
downloadmariadb-git-a9d2569cba4ff0e9c419d26d4e2005337e047984.tar.gz
Generate "config.h" directly into the "include" directory, later copied
to "my_config.h". Not to pollute the top directory, and to get more control over what is included. Made the include path for "libedit" pick up its own "config.h" first.
Diffstat (limited to 'cmd-line-utils')
-rw-r--r--cmd-line-utils/libedit/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-line-utils/libedit/Makefile.am b/cmd-line-utils/libedit/Makefile.am
index ae6755f1c5c..b7611193aea 100644
--- a/cmd-line-utils/libedit/Makefile.am
+++ b/cmd-line-utils/libedit/Makefile.am
@@ -5,8 +5,8 @@
ASRC = $(srcdir)/vi.c $(srcdir)/emacs.c $(srcdir)/common.c
AHDR = vi.h emacs.h common.h
-INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
- -I$(srcdir)/../.. -I..
+# Make sure to include stuff from this directory first, to get right "config.h"
+INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include
noinst_LIBRARIES = libedit.a