369 lines
11 KiB
Plaintext
369 lines
11 KiB
Plaintext
--- ctags/configure.orig Wed Feb 2 09:44:46 2000
|
|
+++ ctags/configure Wed Feb 2 09:44:57 2000
|
|
@@ -1741,7 +1741,7 @@
|
|
|
|
fi
|
|
|
|
-for ac_func in strerror opendir
|
|
+for ac_func in mkstemp
|
|
do
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
echo "configure:1748: checking for $ac_func" >&5
|
|
@@ -1796,15 +1796,71 @@
|
|
fi
|
|
done
|
|
|
|
+
|
|
+for ac_func in strerror opendir
|
|
+do
|
|
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
+echo "configure:1804: checking for $ac_func" >&5
|
|
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
+else
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
+#line 1809 "configure"
|
|
+#include "confdefs.h"
|
|
+/* System header to define __stub macros and hopefully few prototypes,
|
|
+ which can conflict with char $ac_func(); 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 $ac_func();
|
|
+
|
|
+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_$ac_func) || defined (__stub___$ac_func)
|
|
+choke me
|
|
+#else
|
|
+$ac_func();
|
|
+#endif
|
|
+
|
|
+; return 0; }
|
|
+EOF
|
|
+if { (eval echo configure:1832: \"$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
|
|
+ echo "configure: failed program was:" >&5
|
|
+ cat conftest.$ac_ext >&5
|
|
+ rm -rf conftest*
|
|
+ eval "ac_cv_func_$ac_func=no"
|
|
+fi
|
|
+rm -f conftest*
|
|
+fi
|
|
+
|
|
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
|
|
+ echo "$ac_t""yes" 1>&6
|
|
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
|
+ cat >> confdefs.h <<EOF
|
|
+#define $ac_tr_func 1
|
|
+EOF
|
|
+
|
|
+else
|
|
+ echo "$ac_t""no" 1>&6
|
|
+fi
|
|
+done
|
|
+
|
|
for ac_func in clock times
|
|
do
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
-echo "configure:1803: checking for $ac_func" >&5
|
|
+echo "configure:1859: checking for $ac_func" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 1808 "configure"
|
|
+#line 1864 "configure"
|
|
#include "confdefs.h"
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $ac_func(); below. */
|
|
@@ -1827,7 +1883,7 @@
|
|
|
|
; return 0; }
|
|
EOF
|
|
-if { (eval echo configure:1831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
+if { (eval echo configure:1887: \"$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
|
|
@@ -1854,12 +1910,12 @@
|
|
for ac_func in remove
|
|
do
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
-echo "configure:1858: checking for $ac_func" >&5
|
|
+echo "configure:1914: checking for $ac_func" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 1863 "configure"
|
|
+#line 1919 "configure"
|
|
#include "confdefs.h"
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $ac_func(); below. */
|
|
@@ -1882,7 +1938,7 @@
|
|
|
|
; return 0; }
|
|
EOF
|
|
-if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
+if { (eval echo configure:1942: \"$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
|
|
@@ -1904,9 +1960,9 @@
|
|
else
|
|
echo "$ac_t""no" 1>&6
|
|
echo $ac_n "checking "if remove is defined in unistd.h"""... $ac_c" 1>&6
|
|
-echo "configure:1908: checking "if remove is defined in unistd.h"" >&5
|
|
+echo "configure:1964: checking "if remove is defined in unistd.h"" >&5
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 1910 "configure"
|
|
+#line 1966 "configure"
|
|
#include "confdefs.h"
|
|
#include <unistd.h>
|
|
#ifdef remove
|
|
@@ -1940,12 +1996,12 @@
|
|
for ac_func in truncate
|
|
do
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
-echo "configure:1944: checking for $ac_func" >&5
|
|
+echo "configure:2000: checking for $ac_func" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 1949 "configure"
|
|
+#line 2005 "configure"
|
|
#include "confdefs.h"
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $ac_func(); below. */
|
|
@@ -1968,7 +2024,7 @@
|
|
|
|
; return 0; }
|
|
EOF
|
|
-if { (eval echo configure:1972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
+if { (eval echo configure:2028: \"$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
|
|
@@ -1996,12 +2052,12 @@
|
|
for ac_func in ftruncate
|
|
do
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
-echo "configure:2000: checking for $ac_func" >&5
|
|
+echo "configure:2056: checking for $ac_func" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2005 "configure"
|
|
+#line 2061 "configure"
|
|
#include "confdefs.h"
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $ac_func(); below. */
|
|
@@ -2024,7 +2080,7 @@
|
|
|
|
; return 0; }
|
|
EOF
|
|
-if { (eval echo configure:2028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
+if { (eval echo configure:2084: \"$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
|
|
@@ -2052,12 +2108,12 @@
|
|
for ac_func in chsize
|
|
do
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
-echo "configure:2056: checking for $ac_func" >&5
|
|
+echo "configure:2112: checking for $ac_func" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2061 "configure"
|
|
+#line 2117 "configure"
|
|
#include "confdefs.h"
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $ac_func(); below. */
|
|
@@ -2080,7 +2136,7 @@
|
|
|
|
; return 0; }
|
|
EOF
|
|
-if { (eval echo configure:2084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
+if { (eval echo configure:2140: \"$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
|
|
@@ -2110,12 +2166,12 @@
|
|
for ac_func in setenv
|
|
do
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
-echo "configure:2114: checking for $ac_func" >&5
|
|
+echo "configure:2170: checking for $ac_func" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2119 "configure"
|
|
+#line 2175 "configure"
|
|
#include "confdefs.h"
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $ac_func(); below. */
|
|
@@ -2138,7 +2194,7 @@
|
|
|
|
; return 0; }
|
|
EOF
|
|
-if { (eval echo configure:2142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
+if { (eval echo configure:2198: \"$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
|
|
@@ -2166,12 +2222,12 @@
|
|
for ac_func in putenv
|
|
do
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
-echo "configure:2170: checking for $ac_func" >&5
|
|
+echo "configure:2226: checking for $ac_func" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2175 "configure"
|
|
+#line 2231 "configure"
|
|
#include "confdefs.h"
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char $ac_func(); below. */
|
|
@@ -2194,7 +2250,7 @@
|
|
|
|
; return 0; }
|
|
EOF
|
|
-if { (eval echo configure:2198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
+if { (eval echo configure:2254: \"$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
|
|
@@ -2220,7 +2276,7 @@
|
|
|
|
if test "$have_putenv" = yes ; then
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2224 "configure"
|
|
+#line 2280 "configure"
|
|
#include "confdefs.h"
|
|
#include <stdlib.h>
|
|
EOF
|
|
@@ -2233,9 +2289,9 @@
|
|
|
|
if test "$have_putenv_prototype" = yes ; then
|
|
echo $ac_n "checking "putenv prototype"""... $ac_c" 1>&6
|
|
-echo "configure:2237: checking "putenv prototype"" >&5
|
|
+echo "configure:2293: checking "putenv prototype"" >&5
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2239 "configure"
|
|
+#line 2295 "configure"
|
|
#include "confdefs.h"
|
|
#include <stdlib.h>
|
|
EOF
|
|
@@ -2261,13 +2317,13 @@
|
|
|
|
|
|
echo "checking "for missing prototypes"" 1>&6
|
|
-echo "configure:2265: checking "for missing prototypes"" >&5
|
|
+echo "configure:2321: checking "for missing prototypes"" >&5
|
|
|
|
|
|
|
|
if test "$have_remove" = yes ; then
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2271 "configure"
|
|
+#line 2327 "configure"
|
|
#include "confdefs.h"
|
|
#include <stdio.h>
|
|
EOF
|
|
@@ -2285,7 +2341,7 @@
|
|
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2289 "configure"
|
|
+#line 2345 "configure"
|
|
#include "confdefs.h"
|
|
#include <unistd.h>
|
|
EOF
|
|
@@ -2303,7 +2359,7 @@
|
|
|
|
fi
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2307 "configure"
|
|
+#line 2363 "configure"
|
|
#include "confdefs.h"
|
|
#include <stdlib.h>
|
|
EOF
|
|
@@ -2320,7 +2376,7 @@
|
|
rm -f conftest*
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2324 "configure"
|
|
+#line 2380 "configure"
|
|
#include "confdefs.h"
|
|
#include <stdlib.h>
|
|
EOF
|
|
@@ -2337,7 +2393,7 @@
|
|
rm -f conftest*
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2341 "configure"
|
|
+#line 2397 "configure"
|
|
#include "confdefs.h"
|
|
#include <string.h>
|
|
EOF
|
|
@@ -2354,7 +2410,7 @@
|
|
rm -f conftest*
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2358 "configure"
|
|
+#line 2414 "configure"
|
|
#include "confdefs.h"
|
|
#include <sys/stat.h>
|
|
EOF
|
|
@@ -2371,7 +2427,7 @@
|
|
rm -f conftest*
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2375 "configure"
|
|
+#line 2431 "configure"
|
|
#include "confdefs.h"
|
|
#include <sys/stat.h>
|
|
EOF
|
|
@@ -2389,7 +2445,7 @@
|
|
|
|
if test "$have_fgetpos" = yes ; then
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2393 "configure"
|
|
+#line 2449 "configure"
|
|
#include "confdefs.h"
|
|
#include <stdio.h>
|
|
EOF
|
|
@@ -2408,7 +2464,7 @@
|
|
fi
|
|
if test "$have_truncate" = yes ; then
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2412 "configure"
|
|
+#line 2468 "configure"
|
|
#include "confdefs.h"
|
|
#include <unistd.h>
|
|
EOF
|
|
@@ -2427,7 +2483,7 @@
|
|
fi
|
|
if test "$have_ftruncate" = yes ; then
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 2431 "configure"
|
|
+#line 2487 "configure"
|
|
#include "confdefs.h"
|
|
#include <unistd.h>
|
|
EOF
|