Home | History | Annotate | Line # | Download | only in ksh
      1 /*	$NetBSD: conf-end.h,v 1.7 2017/06/30 02:38:09 kamil Exp $	*/
      2 
      3 /*
      4  * End of configuration stuff for PD ksh.
      5  *
      6  * RCSid: $NetBSD: conf-end.h,v 1.7 2017/06/30 02:38:09 kamil Exp $
      7  */
      8 
      9 #if defined(EMACS) || defined(VI)
     10 # define	EDIT
     11 #else
     12 # undef		EDIT
     13 #endif
     14 
     15 /* Editing implies history */
     16 #if defined(EDIT) && !defined(HISTORY)
     17 # define HISTORY
     18 #endif /* EDIT */
     19 
     20 #if defined(HISTORY) && (!defined(COMPLEX_HISTORY) || !defined(HAVE_FLOCK))
     21 # undef COMPLEX_HISTORY
     22 # define EASY_HISTORY			/* sjg's trivial history file */
     23 #endif
     24 
     25 #ifdef HAVE_GCC_FUNC_ATTR
     26 # define GCC_FUNC_ATTR(x)	__attribute__((x))
     27 # define GCC_FUNC_ATTR2(x,y)	__attribute__((x,y))
     28 #else
     29 # define GCC_FUNC_ATTR(x)
     30 # define GCC_FUNC_ATTR2(x,y)
     31 #endif /* HAVE_GCC_FUNC_ATTR */
     32