fi
-if test "$ac_cv_mingw32" = yes ; then
- echo $ac_n "checking for _snprintf""... $ac_c" 1>&6
-echo "configure:14257: checking for _snprintf" >&5
-if eval "test \"\${ac_cv_func__snprintf+set}\" = set"; then
+echo $ac_n "checking for _spawnlp""... $ac_c" 1>&6
+echo "configure:14256: checking for _spawnlp" >&5
+if eval "test \"\${ac_cv_func__spawnlp+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14262 "configure"
+#line 14261 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char _snprintf(); below. */
+ which can conflict with char _spawnlp(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char _snprintf();
+char _spawnlp();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
-#if defined (__stub__snprintf) || defined (__stub____snprintf)
+#if defined (__stub__spawnlp) || defined (__stub____spawnlp)
choke me
#else
-f = _snprintf;
+f = _spawnlp;
#endif
; return 0; }
EOF
-if { (eval echo configure:14286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- eval "ac_cv_func__snprintf=yes"
+ eval "ac_cv_func__spawnlp=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_func__snprintf=no"
+ eval "ac_cv_func__spawnlp=no"
fi
rm -f conftest*
fi
-if eval "test \"`echo '$ac_cv_func_'_snprintf`\" = yes"; then
+if eval "test \"`echo '$ac_cv_func_'_spawnlp`\" = yes"; then
echo "$ac_t""yes" 1>&6
-
- ac_cv_func_snprintf=yes
- cat >> confdefs.h <<\EOF
-#define snprintf _snprintf
+ cat >> confdefs.h <<\EOF
+#define HAVE_SPAWNLP 1
EOF
-
else
echo "$ac_t""no" 1>&6
fi
- echo $ac_n "checking for _vsnprintf""... $ac_c" 1>&6
-echo "configure:14313: checking for _vsnprintf" >&5
-if eval "test \"\${ac_cv_func__vsnprintf+set}\" = set"; then
+echo $ac_n "checking for _snprintf""... $ac_c" 1>&6
+echo "configure:14309: checking for _snprintf" >&5
+if eval "test \"\${ac_cv_func__snprintf+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14318 "configure"
+#line 14314 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char _vsnprintf(); below. */
+ which can conflict with char _snprintf(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char _vsnprintf();
+char _snprintf();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
-#if defined (__stub__vsnprintf) || defined (__stub____vsnprintf)
+#if defined (__stub__snprintf) || defined (__stub____snprintf)
choke me
#else
-f = _vsnprintf;
+f = _snprintf;
#endif
; return 0; }
EOF
-if { (eval echo configure:14342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- eval "ac_cv_func__vsnprintf=yes"
+ eval "ac_cv_func__snprintf=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_func__vsnprintf=no"
+ eval "ac_cv_func__snprintf=no"
fi
rm -f conftest*
fi
-if eval "test \"`echo '$ac_cv_func_'_vsnprintf`\" = yes"; then
+if eval "test \"`echo '$ac_cv_func_'_snprintf`\" = yes"; then
echo "$ac_t""yes" 1>&6
-
- ac_cv_func_vsnprintf=yes
+ ac_cv_func_snprintf=yes
cat >> confdefs.h <<\EOF
-#define vsnprintf _vsnprintf
+#define snprintf _snprintf
EOF
-
+
else
echo "$ac_t""no" 1>&6
fi
- echo $ac_n "checking for _spawnlp""... $ac_c" 1>&6
-echo "configure:14369: checking for _spawnlp" >&5
-if eval "test \"\${ac_cv_func__spawnlp+set}\" = set"; then
+echo $ac_n "checking for _vsnprintf""... $ac_c" 1>&6
+echo "configure:14364: checking for _vsnprintf" >&5
+if eval "test \"\${ac_cv_func__vsnprintf+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14374 "configure"
+#line 14369 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char _spawnlp(); below. */
+ which can conflict with char _vsnprintf(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char _spawnlp();
+char _vsnprintf();
char (*f)();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
-#if defined (__stub__spawnlp) || defined (__stub____spawnlp)
+#if defined (__stub__vsnprintf) || defined (__stub____vsnprintf)
choke me
#else
-f = _spawnlp;
+f = _vsnprintf;
#endif
; return 0; }
EOF
-if { (eval echo configure:14398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- eval "ac_cv_func__spawnlp=yes"
+ eval "ac_cv_func__vsnprintf=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_func__spawnlp=no"
+ eval "ac_cv_func__vsnprintf=no"
fi
rm -f conftest*
fi
-if eval "test \"`echo '$ac_cv_func_'_spawnlp`\" = yes"; then
+if eval "test \"`echo '$ac_cv_func_'_vsnprintf`\" = yes"; then
echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define HAVE_SPAWNLP 1
+ ac_cv_func_vsnprintf=yes
+ cat >> confdefs.h <<\EOF
+#define vsnprintf _vsnprintf
EOF
+
else
echo "$ac_t""no" 1>&6
fi
-fi
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
-echo "configure:14423: checking for vprintf" >&5
+echo "configure:14419: checking for vprintf" >&5
if eval "test \"\${ac_cv_func_vprintf+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14428 "configure"
+#line 14424 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
; return 0; }
EOF
-if { (eval echo configure:14452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vprintf=yes"
else
if test "$ac_cv_func_vprintf" != yes; then
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
-echo "configure:14476: checking for _doprnt" >&5
+echo "configure:14472: checking for _doprnt" >&5
if eval "test \"\${ac_cv_func__doprnt+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14481 "configure"
+#line 14477 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
; return 0; }
EOF
-if { (eval echo configure:14505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func__doprnt=yes"
else
for ac_func in vsnprintf vsprintf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:14534: checking for $ac_func" >&5
+echo "configure:14530: checking for $ac_func" >&5
if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14539 "configure"
+#line 14535 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:14563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:14640: checking for $ac_func" >&5
+echo "configure:14636: checking for $ac_func" >&5
if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14645 "configure"
+#line 14641 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:14669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
for ac_func in getopt tempnam
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:14697: checking for $ac_func" >&5
+echo "configure:14693: checking for $ac_func" >&5
if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14702 "configure"
+#line 14698 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:14726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
# Check Configuration
echo $ac_n "checking declaration of sys_errlist""... $ac_c" 1>&6
-echo "configure:14763: checking declaration of sys_errlist" >&5
+echo "configure:14759: checking declaration of sys_errlist" >&5
if eval "test \"\${ol_cv_dcl_sys_errlist+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14769 "configure"
+#line 14765 "configure"
#include "confdefs.h"
#include <stdio.h>
char *c = (char *) *sys_errlist
; return 0; }
EOF
-if { (eval echo configure:14782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:14778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ol_cv_dcl_sys_errlist=yes
ol_cv_have_sys_errlist=yes
echo $ac_n "checking existence of sys_errlist""... $ac_c" 1>&6
-echo "configure:14805: checking existence of sys_errlist" >&5
+echo "configure:14801: checking existence of sys_errlist" >&5
if eval "test \"\${ol_cv_have_sys_errlist+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14811 "configure"
+#line 14807 "configure"
#include "confdefs.h"
#include <errno.h>
int main() {
char *c = (char *) *sys_errlist
; return 0; }
EOF
-if { (eval echo configure:14818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ol_cv_have_sys_errlist=yes
else