llvm.org GIT mirror llvm / 582a23c
* Fix a bug in an m4 macro that used an incorrect test operator * Add CAN_DLOPEN_SELF so we can determine if dlopen(0) will open the program or not. * Correct a warning messages to be a little more specific on what it checks git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19184 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 15 years ago
3 changed file(s) with 21 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
296296 AC_LIB_LTDL
297297 AC_PROG_LIBTOOL
298298
299 if test "$lt_cv_dlopen_self" = "yes" ; then
300 AC_DEFINE([CAN_DLOPEN_SELF],[1],
301 [Define if dlopen(0) will open the symbols of the program])
302 fi
303
299304 dnl Check if we know how to tell etags we are using C++:
300305 etags_version=`$ETAGS --version 2>&1`
301306 case "$etags_version" in
464469
465470 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
466471 then
467 AC_MSG_WARN([mmap() required but not found])
472 AC_MSG_WARN([mmap() of a fixed address required but not supported])
468473 fi
469474 if test "$ac_cv_func_mmap_file" = "no"
470475 then
55135513 if test x"${ac_cv_path_tclsh}" = x ; then
55145514 echo "$as_me:$LINENO: result: none" >&5
55155515 echo "${ECHO_T}none" >&6
5516 for ac_prog in tclsh8.4 tclsh8.4.8 tclsh8.4.7 tclsh8.4.6 tclsh8.4.5 tclsh8.4.4 tclsh8.4.3 tclsh8.4.2 tclsh8.4.1 tclsh8.4.0 tclsh8.3 tclsh8.3.5 tclsh8.3.4 tclsh8.3.3 .tclsh8.3.2 tclsh8.3.1 tclsh8.3.0 tclsh
5516 for ac_prog in tclsh8.4 tclsh8.4.8 tclsh8.4.7 tclsh8.4.6 tclsh8.4.5 tclsh8.4.4 tclsh8.4.3 tclsh8.4.2 tclsh8.4.1 tclsh8.4.0 tclsh8.3 tclsh8.3.5 tclsh8.3.4 tclsh8.3.3 tclsh8.3.2 tclsh8.3.1 tclsh8.3.0 tclsh
55175517 do
55185518 # Extract the first word of "$ac_prog", so it can be a program name with args.
55195519 set dummy $ac_prog; ac_word=$2
2458824588
2458924589
2459024590
24591 if test "$lt_cv_dlopen_self" = "yes" ; then
24592
24593 cat >>confdefs.h <<\_ACEOF
24594 #define CAN_DLOPEN_SELF 1
24595 _ACEOF
24596
24597 fi
24598
2459124599 etags_version=`$ETAGS --version 2>&1`
2459224600 case "$etags_version" in
2459324601 *Eexuberant*) ETAGSFLAGS="--language-force=c++" ;;
2985129859 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
2985229860 echo $ECHO_N "(cached) $ECHO_C" >&6
2985329861 else
29854 if test "$llvm_cv_os_type" == "Interix" ; then
29862 if test "$llvm_cv_os_type" = "Interix" ; then
2985529863 ac_cv_need_dev_zero_for_mmap=yes
2985629864 else
2985729865 ac_cv_need_dev_zero_for_mmap=no
2996829976
2996929977 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
2997029978 then
29971 { echo "$as_me:$LINENO: WARNING: mmap() required but not found" >&5
29972 echo "$as_me: WARNING: mmap() required but not found" >&2;}
29979 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
29980 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
2997329981 fi
2997429982 if test "$ac_cv_func_mmap_file" = "no"
2997529983 then
0 /* include/llvm/Config/config.h.in. Generated from autoconf/configure.ac by autoheader. */
1
2 /* Define if dlopen(0) will open the symbols of the program */
3 #undef CAN_DLOPEN_SELF
14
25 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
36 systems. This function is required for `alloca.c' support on those systems.