aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tilde
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tilde')
-rw-r--r--lib/tilde/Makefile.in5
-rw-r--r--lib/tilde/tilde.c3
-rw-r--r--lib/tilde/tilde.h4
3 files changed, 4 insertions, 8 deletions
diff --git a/lib/tilde/Makefile.in b/lib/tilde/Makefile.in
index f53c5d7..aa7bbf0 100644
--- a/lib/tilde/Makefile.in
+++ b/lib/tilde/Makefile.in
@@ -39,6 +39,8 @@ MV = mv
SHELL = @MAKE_SHELL@
+PROFILE_FLAGS = @PROFILE_FLAGS@
+
CFLAGS = @CFLAGS@
LOCAL_CFLAGS = @LOCAL_CFLAGS@
CPPFLAGS = @CPPFLAGS@
@@ -51,7 +53,8 @@ BASHINCDIR = ${topdir}/include
INCLUDES = -I. -I../.. -I$(topdir) -I${BASHINCDIR} -I$(topdir)/lib
-CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(CPPFLAGS) ${INCLUDES} $(LOCAL_CFLAGS) $(CFLAGS)
+CCFLAGS = $(PROFILE_FLAGS) $(DEFS) $(LOCAL_DEFS) $(CPPFLAGS) \
+ ${INCLUDES} $(LOCAL_CFLAGS) $(CFLAGS)
.c.o:
$(CC) -c $(CCFLAGS) $<
diff --git a/lib/tilde/tilde.c b/lib/tilde/tilde.c
index 6e4f116..154f7f8 100644
--- a/lib/tilde/tilde.c
+++ b/lib/tilde/tilde.c
@@ -59,9 +59,6 @@ extern struct passwd *getpwnam PARAMS((const char *));
#endif /* !HAVE_GETPW_DECLS */
#if !defined (savestring)
-# ifndef strcpy
-extern char *strcpy ();
-# endif
#define savestring(x) strcpy ((char *)xmalloc (1 + strlen (x)), (x))
#endif /* !savestring */
diff --git a/lib/tilde/tilde.h b/lib/tilde/tilde.h
index 0df608b..f8182c9 100644
--- a/lib/tilde/tilde.h
+++ b/lib/tilde/tilde.h
@@ -24,10 +24,6 @@
#if !defined (_TILDE_H_)
# define _TILDE_H_
-#if defined (HAVE_CONFIG_H)
-# include <config.h>
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif