Skip to content

Commit d4a22da

Browse files
committed
Remove the unused header check for utime.h.
llvm-svn: 244011
1 parent 62dba3b commit d4a22da

File tree

3 files changed

+1
-254
lines changed

3 files changed

+1
-254
lines changed

llvm/autoconf/configure.ac

-1
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,6 @@ AC_LANG_POP([C++])
17971797

17981798
AC_CHECK_HEADERS([dlfcn.h execinfo.h fcntl.h inttypes.h link.h])
17991799
AC_CHECK_HEADERS([malloc.h setjmp.h signal.h stdint.h termios.h unistd.h])
1800-
AC_CHECK_HEADERS([utime.h])
18011800
AC_CHECK_HEADERS([sys/mman.h sys/param.h sys/resource.h sys/time.h sys/uio.h])
18021801
AC_CHECK_HEADERS([sys/ioctl.h malloc/malloc.h mach/mach.h])
18031802
AC_CHECK_HEADERS([valgrind/valgrind.h])

llvm/configure

+1-250
Original file line numberDiff line numberDiff line change
@@ -8643,87 +8643,6 @@ fi
86438643

86448644
if test "$llvm_cv_os_type" = "MingW" ; then
86458645

8646-
{ echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
8647-
echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
8648-
if test "${ac_cv_lib_imagehlp_main+set}" = set; then
8649-
echo $ECHO_N "(cached) $ECHO_C" >&6
8650-
else
8651-
ac_check_lib_save_LIBS=$LIBS
8652-
LIBS="-limagehlp $LIBS"
8653-
cat >conftest.$ac_ext <<_ACEOF
8654-
/* confdefs.h. */
8655-
_ACEOF
8656-
cat confdefs.h >>conftest.$ac_ext
8657-
cat >>conftest.$ac_ext <<_ACEOF
8658-
/* end confdefs.h. */
8659-
8660-
8661-
int
8662-
main ()
8663-
{
8664-
return main ();
8665-
;
8666-
return 0;
8667-
}
8668-
_ACEOF
8669-
rm -f conftest.$ac_objext conftest$ac_exeext
8670-
if { (ac_try="$ac_link"
8671-
case "(($ac_try" in
8672-
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8673-
*) ac_try_echo=$ac_try;;
8674-
esac
8675-
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8676-
(eval "$ac_link") 2>conftest.er1
8677-
ac_status=$?
8678-
grep -v '^ *+' conftest.er1 >conftest.err
8679-
rm -f conftest.er1
8680-
cat conftest.err >&5
8681-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682-
(exit $ac_status); } &&
8683-
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8684-
{ (case "(($ac_try" in
8685-
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8686-
*) ac_try_echo=$ac_try;;
8687-
esac
8688-
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8689-
(eval "$ac_try") 2>&5
8690-
ac_status=$?
8691-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692-
(exit $ac_status); }; } &&
8693-
{ ac_try='test -s conftest$ac_exeext'
8694-
{ (case "(($ac_try" in
8695-
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8696-
*) ac_try_echo=$ac_try;;
8697-
esac
8698-
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8699-
(eval "$ac_try") 2>&5
8700-
ac_status=$?
8701-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702-
(exit $ac_status); }; }; then
8703-
ac_cv_lib_imagehlp_main=yes
8704-
else
8705-
echo "$as_me: failed program was:" >&5
8706-
sed 's/^/| /' conftest.$ac_ext >&5
8707-
8708-
ac_cv_lib_imagehlp_main=no
8709-
fi
8710-
8711-
rm -f core conftest.err conftest.$ac_objext \
8712-
conftest$ac_exeext conftest.$ac_ext
8713-
LIBS=$ac_check_lib_save_LIBS
8714-
fi
8715-
{ echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
8716-
echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
8717-
if test $ac_cv_lib_imagehlp_main = yes; then
8718-
cat >>confdefs.h <<_ACEOF
8719-
#define HAVE_LIBIMAGEHLP 1
8720-
_ACEOF
8721-
8722-
LIBS="-limagehlp $LIBS"
8723-
8724-
fi
8725-
8726-
87278646
{ echo "$as_me:$LINENO: checking for main in -lole32" >&5
87288647
echo $ECHO_N "checking for main in -lole32... $ECHO_C" >&6; }
87298648
if test "${ac_cv_lib_ole32_main+set}" = set; then
@@ -11640,175 +11559,6 @@ fi
1164011559
done
1164111560

1164211561

11643-
for ac_header in utime.h
11644-
do
11645-
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11646-
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11647-
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11648-
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11649-
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11650-
echo $ECHO_N "(cached) $ECHO_C" >&6
11651-
fi
11652-
ac_res=`eval echo '${'$as_ac_Header'}'`
11653-
{ echo "$as_me:$LINENO: result: $ac_res" >&5
11654-
echo "${ECHO_T}$ac_res" >&6; }
11655-
else
11656-
# Is the header compilable?
11657-
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11658-
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11659-
cat >conftest.$ac_ext <<_ACEOF
11660-
/* confdefs.h. */
11661-
_ACEOF
11662-
cat confdefs.h >>conftest.$ac_ext
11663-
cat >>conftest.$ac_ext <<_ACEOF
11664-
/* end confdefs.h. */
11665-
$ac_includes_default
11666-
#include <$ac_header>
11667-
_ACEOF
11668-
rm -f conftest.$ac_objext
11669-
if { (ac_try="$ac_compile"
11670-
case "(($ac_try" in
11671-
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11672-
*) ac_try_echo=$ac_try;;
11673-
esac
11674-
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11675-
(eval "$ac_compile") 2>conftest.er1
11676-
ac_status=$?
11677-
grep -v '^ *+' conftest.er1 >conftest.err
11678-
rm -f conftest.er1
11679-
cat conftest.err >&5
11680-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681-
(exit $ac_status); } &&
11682-
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11683-
{ (case "(($ac_try" in
11684-
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11685-
*) ac_try_echo=$ac_try;;
11686-
esac
11687-
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11688-
(eval "$ac_try") 2>&5
11689-
ac_status=$?
11690-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691-
(exit $ac_status); }; } &&
11692-
{ ac_try='test -s conftest.$ac_objext'
11693-
{ (case "(($ac_try" in
11694-
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11695-
*) ac_try_echo=$ac_try;;
11696-
esac
11697-
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11698-
(eval "$ac_try") 2>&5
11699-
ac_status=$?
11700-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701-
(exit $ac_status); }; }; then
11702-
ac_header_compiler=yes
11703-
else
11704-
echo "$as_me: failed program was:" >&5
11705-
sed 's/^/| /' conftest.$ac_ext >&5
11706-
11707-
ac_header_compiler=no
11708-
fi
11709-
11710-
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11711-
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11712-
echo "${ECHO_T}$ac_header_compiler" >&6; }
11713-
11714-
# Is the header present?
11715-
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11716-
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11717-
cat >conftest.$ac_ext <<_ACEOF
11718-
/* confdefs.h. */
11719-
_ACEOF
11720-
cat confdefs.h >>conftest.$ac_ext
11721-
cat >>conftest.$ac_ext <<_ACEOF
11722-
/* end confdefs.h. */
11723-
#include <$ac_header>
11724-
_ACEOF
11725-
if { (ac_try="$ac_cpp conftest.$ac_ext"
11726-
case "(($ac_try" in
11727-
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11728-
*) ac_try_echo=$ac_try;;
11729-
esac
11730-
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11731-
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11732-
ac_status=$?
11733-
grep -v '^ *+' conftest.er1 >conftest.err
11734-
rm -f conftest.er1
11735-
cat conftest.err >&5
11736-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737-
(exit $ac_status); } >/dev/null; then
11738-
if test -s conftest.err; then
11739-
ac_cpp_err=$ac_c_preproc_warn_flag
11740-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11741-
else
11742-
ac_cpp_err=
11743-
fi
11744-
else
11745-
ac_cpp_err=yes
11746-
fi
11747-
if test -z "$ac_cpp_err"; then
11748-
ac_header_preproc=yes
11749-
else
11750-
echo "$as_me: failed program was:" >&5
11751-
sed 's/^/| /' conftest.$ac_ext >&5
11752-
11753-
ac_header_preproc=no
11754-
fi
11755-
11756-
rm -f conftest.err conftest.$ac_ext
11757-
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11758-
echo "${ECHO_T}$ac_header_preproc" >&6; }
11759-
11760-
# So? What about this header?
11761-
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11762-
yes:no: )
11763-
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11764-
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11765-
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11766-
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11767-
ac_header_preproc=yes
11768-
;;
11769-
no:yes:* )
11770-
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11771-
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11772-
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11773-
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11774-
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11775-
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11776-
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11777-
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11778-
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11779-
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11780-
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11781-
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11782-
( cat <<\_ASBOX
11783-
## ------------------------------------ ##
11784-
## Report this to http://llvm.org/bugs/ ##
11785-
## ------------------------------------ ##
11786-
_ASBOX
11787-
) | sed "s/^/$as_me: WARNING: /" >&2
11788-
;;
11789-
esac
11790-
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11791-
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11792-
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11793-
echo $ECHO_N "(cached) $ECHO_C" >&6
11794-
else
11795-
eval "$as_ac_Header=\$ac_header_preproc"
11796-
fi
11797-
ac_res=`eval echo '${'$as_ac_Header'}'`
11798-
{ echo "$as_me:$LINENO: result: $ac_res" >&5
11799-
echo "${ECHO_T}$ac_res" >&6; }
11800-
11801-
fi
11802-
if test `eval echo '${'$as_ac_Header'}'` = yes; then
11803-
cat >>confdefs.h <<_ACEOF
11804-
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11805-
_ACEOF
11806-
11807-
fi
11808-
11809-
done
11810-
11811-
1181211562

1181311563

1181411564

@@ -19709,3 +19459,4 @@ echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
1970919459
cd "$ac_popdir"
1971019460
done
1971119461
fi
19462+

llvm/include/llvm/Config/config.h.in

-3
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,6 @@
330330
/* Define to 1 if you have the <unistd.h> header file. */
331331
#undef HAVE_UNISTD_H
332332

333-
/* Define to 1 if you have the <utime.h> header file. */
334-
#undef HAVE_UTIME_H
335-
336333
/* Define to 1 if the system has the type `u_int64_t'. */
337334
#undef HAVE_U_INT64_T
338335

0 commit comments

Comments
 (0)