+#! /bin/sh
case $CONFIG in
'')
if test -f config.sh; then TOP=.;
. $TOP/config.sh
;;
esac
+
+case "$bin_sh" in
+'')
+ bin_sh='/bin/sh'
+ ;;
+esac
+
case "$0" in
*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
esac
echo "Extracting config.h (with variable substitutions)"
+rm -f config.h
sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#define!' -e 's!^#un-def!#undef!'
/*
* This file was produced by running the config_h.SH script, which
* that running config_h.SH again will wipe out any changes you've made.
* For a more permanent change edit config.sh and rerun config_h.SH.
*
- * \$Id: Config_h.U,v 3.0.1.4 1995/09/25 09:10:49 ram Exp $
+ * \$Id: config_h.SH,v 1.2 1996/07/05 23:49:13 gerti Exp $
*/
/* Configuration time: $cf_time
*/
#$d_archlib ARCHLIB_EXP "$archlibexp" /**/
+/* OSNAME:
+ * This symbol contains the name of the operating system, as determined
+ * by Configure.
+ */
+#define OSNAME "$osname" /**/
+
/* BYTEORDER:
* This symbol hold the hexadecimal constant defined in byteorder,
* i.e. 0x1234 or 0x4321, etc...
*/
+#ifndef NeXT
#define BYTEORDER 0x$byteorder /* large digits for MSB */
+#else /* NeXT */
+
+#ifdef __BIG_ENDIAN__
+#define BYTEORDER 0x4321
+#else /* __LITTLE_ENDIAN__ */
+#define BYTEORDER 0x1234
+#endif /* ENDIAN CHECK */
+
+#endif /* !NeXT */
/* CSH:
* This symbol, if defined, indicates that the C-shell exists.
*/
#define Gconvert(x,n,t,b) $d_Gconvert
+/* Sigjmp_buf:
+ * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
+ */
+/* Sigsetjmp:
+ * This macro is used in the same way as sigsetjmp(), but will invoke
+ * traditional setjmp() if sigsetjmp isn't available.
+ */
+/* Siglongjmp:
+ * This macro is used in the same way as siglongjmp(), but will invoke
+ * traditional longjmp() if siglongjmp isn't available.
+ */
+#$d_sigsetjmp HAS_SIGSETJMP /**/
+#ifdef HAS_SIGSETJMP
+#define Sigjmp_buf sigjmp_buf
+#define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask)
+#define Siglongjmp(buf,retval) siglongjmp(buf,retval)
+#else
+#define Sigjmp_buf jmp_buf
+#define Sigsetjmp(buf,save_mask) setjmp(buf)
+#define Siglongjmp(buf,retval) longjmp(buf,retval)
+#endif
+
/* USE_DYNAMIC_LOADING:
* This symbol, if defined, indicates that dynamic loading of
* some sort is available.
*/
#define STARTPERL "$startperl" /**/
+/* BIN_SH:
+ * This variable contains the path to the shell.
+ */
+#define BIN_SH "$bin_sh" /**/
+
/* VOIDFLAGS:
* This symbol indicates how much support of the void type is given by this
* compiler. What various bits mean: