This requires a corresponding change in the metaconfig units.
i_stdbool=''
i_stdint=''
i_stdlib=''
-i_string=''
-strings=''
i_sunmath=''
i_sysaccess=''
i_sysdir=''
prefixvar=vendorscript
. ./installprefix
-: script used to emit important warnings
-cat >warn <<EOS
-$startsh
-if test \$# -gt 0; then
- echo "\$@" >msg
-else
- cat >msg
-fi
-echo "*** WARNING:" >&4
-sed -e 's/^/*** /' <msg >&4
-echo "*** " >&4
-cat msg >>config.msg
-echo " " >>config.msg
-rm -f msg
-EOS
-chmod +x warn
-$eunicefix warn
-
-: see which of string.h or strings.h is needed
-echo " "
-strings=`./findhdr string.h`
-if $test "$strings" && $test -r "$strings"; then
- echo "Using <string.h> instead of <strings.h>." >&4
- val="$define"
-else
- val="$undef"
- strings=`./findhdr strings.h`
- if $test "$strings" && $test -r "$strings"; then
- echo "Using <strings.h> instead of <string.h>." >&4
- else
- ./warn "No string header found -- You'll surely have problems."
- fi
-fi
-set i_string
-eval $setvar
-case "$i_string" in
-"$undef") strings=`./findhdr strings.h`;;
-*) strings=`./findhdr string.h`;;
-esac
-
: see if qgcvt exists
set qgcvt d_qgcvt
eval $inlibc
#ifdef I_STDLIB
#include <stdlib.h>
#endif
-#$i_string I_STRING
-#ifdef I_STRING
-# include <string.h>
-#else
-# include <strings.h>
-#endif
+#include <string.h>
int checkit(char *expect, char *got)
{
#ifdef I_UNISTD
#include <unistd.h>
#endif
-#$i_string I_STRING
-#ifdef I_STRING
#include <string.h>
-#else
-#include <strings.h>
-#endif
$signal_t blech(int x) { exit(3); }
EOCP
$cat >> try.c <<'EOCP'
#$i_unistd I_UNISTD
#$i_time I_TIME
#$i_stdlib I_STDLIB
-#$i_string I_STRING
#$i_malloc I_MALLOC
#ifdef I_SYS_TYPES
# include <sys/types.h>
#ifdef I_STDLIB
#include <stdlib.h>
#endif
-#ifdef I_STRING
-# include <string.h>
-#else
-# include <strings.h>
-#endif
+#include <string.h>
#ifdef I_MALLOC
# include <malloc.h>
#endif
#ifdef I_STDLIB
#include <stdlib.h>
#endif
-#$i_string I_STRING
-#ifdef I_STRING
-# include <string.h>
-#else
-# include <strings.h>
-#endif
+#include <string.h>
#include <sys/types.h>
#include <signal.h>
#ifdef SIGFPE
eval $inlibc
case "$d_strerror_r" in
"$define")
- hdrs="$i_systypes sys/types.h define stdio.h $i_string string.h"
+ hdrs="$i_systypes sys/types.h define stdio.h define string.h"
case "$d_strerror_r_proto:$usethreads" in
":define") d_strerror_r_proto=define
set d_strerror_r_proto strerror_r $hdrs
#ifdef I_STDLIB
# include <stdlib.h>
#endif
-#$i_string I_STRING
-#ifdef I_STRING
-# include <string.h>
-#endif
+#include <string.h>
#$i_langinfo I_LANGINFO
#ifdef I_LANGINFO
# include <langinfo.h>
#define LONG_DOUBLESIZE $longdblsize
#define LONG_DOUBLEKIND $longdblkind
#endif
-#$i_string I_STRING
#include <math.h>
-#ifdef I_STRING
-# include <string.h>
-#endif
+#include <string.h>
#include <stdio.h>
/* Note that whether the sign bit is on or off
* for NaN depends on the CPU/FPU, and possibly
;;
esac
+: script used to emit important warnings
+cat >warn <<EOS
+$startsh
+if test \$# -gt 0; then
+ echo "\$@" >msg
+else
+ cat >msg
+fi
+echo "*** WARNING:" >&4
+sed -e 's/^/*** /' <msg >&4
+echo "*** " >&4
+cat msg >>config.msg
+echo " " >>config.msg
+rm -f msg
+EOS
+chmod +x warn
+$eunicefix warn
+
: see if this is a termio system
val="$undef"
val2="$undef"
i_stdbool='$i_stdbool'
i_stdint='$i_stdint'
i_stdlib='$i_stdlib'
-i_string='$i_string'
i_sunmath='$i_sunmath'
i_sysaccess='$i_sysaccess'
i_sysdir='$i_sysdir'
stdio_ptr='$stdio_ptr'
stdio_stream_array='$stdio_stream_array'
strerror_r_proto='$strerror_r_proto'
-strings='$strings'
submit='$submit'
subversion='$subversion'
sysman='$sysman'
i_stdbool='undef'
i_stdint='define'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='define'
i_shadow='define'
i_socks='undef'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='define'
i_stdbool='define'
i_stdint='undef'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='undef'
*/
#define I_NETINET_IN /**/
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#define I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.
indicates to the C program that <stdint.h> exists and should
be included.
-i_string (i_string.U):
- This variable conditionally defines the I_STRING symbol, which
- indicates that <string.h> should be included rather than <strings.h>.
-
i_sunmath (i_sunmath.U):
This variable conditionally defines the I_SUNMATH symbol, and indicates
whether a C program should include <sunmath.h>.
REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
is defined.
-strings (i_string.U):
- This variable holds the full path of the string header that will be
- used. Typically /usr/include/string.h or /usr/include/strings.h.
-
submit (Loc.U):
This variable is defined but not used by Configure.
The value is the empty string and is not useful.
i_stdbool='define'
i_stdint='define'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='define'
*/
/*#define I_STDBOOL / **/
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#define I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.
*/
#$i_niin I_NETINET_IN /**/
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#$i_string I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.
$ ENDIF
$ WC "i_stdint='undef'"
$ WC "i_stdlib='define'"
-$ WC "i_string='define'"
$ WC "i_sunmath='undef'"
$ WC "i_sysaccess='" + i_sysaccess + "'"
$ WC "i_sysdir='undef'"
# include <sys/file.h>
#endif
-#ifdef I_STRING
-# ifndef __ultrix__
-# include <string.h>
-# endif
-#else
-# include <strings.h>
-#endif
+#include <string.h>
/*
* externals
#endif /* MYMALLOC */
-#ifdef I_STRING
-# ifndef __ultrix__
-# include <string.h>
-# endif
-#else
-# include <strings.h>
-#endif
+#include <string.h>
#define memzero(d,l) memset(d,0,l)
#endif
#ifndef __SYMBIAN32__
-# if defined(I_STRING) || defined(__cplusplus)
-# include <string.h>
-# else
-# include <strings.h>
-# endif
+# include <string.h>
#endif
/* This comes after <stdlib.h> so we don't try to change the standard
*/
#define I_NETINET_IN /* config-skip */
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#define I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.
*/
#define I_NETINET_IN /**/
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#define I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.
i_stdbool='undef'
i_stdint='undef'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='undef'
i_stdbool='undef'
i_stdint='undef'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='undef'
*/
/*#define I_NETINET_IN / **/
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#define I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.
#endif
/* Generated from:
- * 7d20869bdf5823fce14e1728a7c415917f7e1fcddf5df6f6b4b16a1a9e2cc6cb config_h.SH
- * 0840ae8893cc31a34607870782c78181109e94dfaedff874545a5b2227501892 uconfig.sh
+ * 7913b611cab4bc7877d2d75fa7ebdacc195e251c150ec7bf4bec7cc4e558b971 config_h.SH
+ * aa2ab1991bf5916d4b01b69ed4108a49a96fdf763ef66dda095036df8b63af48 uconfig.sh
* ex: set ro: */
i_stdbool='undef'
i_stdint='undef'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='undef'
i_stdbool='undef'
i_stdint='undef'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='undef'
i_stdbool='undef'
i_stdint='undef'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='undef'
i_stdbool='define'
i_stdint='undef'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='undef'
i_stdbool='undef'
i_stdint='undef'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='undef'
*/
/*#define I_NETINET_IN /**/
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#define I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.
*/
/*#define I_NETINET_IN / **/
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#define I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.
*/
/*#define I_NETINET_IN / **/
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#define I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.