/[libtool]/libtool/pdemo/configure
ViewVC logotype

Diff of /libtool/pdemo/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.2 by gary, Sat Apr 7 00:32:39 2001 UTC revision 1.1.2.3 by gary, Mon Apr 23 00:41:43 2001 UTC
# Line 1601  solaris*) Line 1601  solaris*)
1601    lt_cv_file_magic_test_file=/lib/libc.so    lt_cv_file_magic_test_file=/lib/libc.so
1602    ;;    ;;
1603    
1604    sysv5uw[78]* | sysv4*uw2*)
1605      lt_cv_deplibs_check_method=pass_all
1606      ;;
1607    
1608  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1609    case $host_vendor in    case $host_vendor in
1610    ncr)    ncr)
# Line 1621  file_magic_cmd=$lt_cv_file_magic_cmd Line 1625  file_magic_cmd=$lt_cv_file_magic_cmd
1625  deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
1626    
1627  echo $ac_n "checking for object suffix""... $ac_c" 1>&6  echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1628  echo "configure:1625: checking for object suffix" >&5  echo "configure:1629: checking for object suffix" >&5
1629  if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1630    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1631  else  else
1632    rm -f conftest*    rm -f conftest*
1633  echo 'int i = 1;' > conftest.$ac_ext  echo 'int i = 1;' > conftest.$ac_ext
1634  if { (eval echo configure:1631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1635    for ac_file in conftest.*; do    for ac_file in conftest.*; do
1636      case $ac_file in      case $ac_file in
1637      *.c) ;;      *.c) ;;
# Line 1657  case $deplibs_check_method in Line 1661  case $deplibs_check_method in
1661  file_magic*)  file_magic*)
1662    if test "$file_magic_cmd" = '$MAGIC_CMD'; then    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1663      echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6      echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1664  echo "configure:1661: checking for ${ac_tool_prefix}file" >&5  echo "configure:1665: checking for ${ac_tool_prefix}file" >&5
1665  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1666    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1667  else  else
# Line 1719  fi Line 1723  fi
1723  if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
1724    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
1725      echo $ac_n "checking for file""... $ac_c" 1>&6      echo $ac_n "checking for file""... $ac_c" 1>&6
1726  echo "configure:1723: checking for file" >&5  echo "configure:1727: checking for file" >&5
1727  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1728    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1729  else  else
# Line 1790  esac Line 1794  esac
1794  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1795  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1796  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1797  echo "configure:1794: checking for $ac_word" >&5  echo "configure:1798: checking for $ac_word" >&5
1798  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1799    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1800  else  else
# Line 1822  if test -n "$ac_tool_prefix"; then Line 1826  if test -n "$ac_tool_prefix"; then
1826    # Extract the first word of "ranlib", so it can be a program name with args.    # Extract the first word of "ranlib", so it can be a program name with args.
1827  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
1828  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1829  echo "configure:1826: checking for $ac_word" >&5  echo "configure:1830: checking for $ac_word" >&5
1830  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1831    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1832  else  else
# Line 1857  fi Line 1861  fi
1861  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1862  set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
1863  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1864  echo "configure:1861: checking for $ac_word" >&5  echo "configure:1865: checking for $ac_word" >&5
1865  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1866    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1867  else  else
# Line 1889  if test -n "$ac_tool_prefix"; then Line 1893  if test -n "$ac_tool_prefix"; then
1893    # Extract the first word of "strip", so it can be a program name with args.    # Extract the first word of "strip", so it can be a program name with args.
1894  set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
1895  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1896  echo "configure:1893: checking for $ac_word" >&5  echo "configure:1897: checking for $ac_word" >&5
1897  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1898    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1899  else  else
# Line 1956  test x"$pic_mode" = xno && libtool_flags Line 1960  test x"$pic_mode" = xno && libtool_flags
1960  case $host in  case $host in
1961  *-*-irix6*)  *-*-irix6*)
1962    # Find out which ABI we are using.    # Find out which ABI we are using.
1963    echo '#line 1960 "configure"' > conftest.$ac_ext    echo '#line 1964 "configure"' > conftest.$ac_ext
1964    if { (eval echo configure:1961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo configure:1965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1965      case `/usr/bin/file conftest.$ac_objext` in      case `/usr/bin/file conftest.$ac_objext` in
1966      *32-bit*)      *32-bit*)
1967        LD="${LD-ld} -32"        LD="${LD-ld} -32"
# Line 1978  case $host in Line 1982  case $host in
1982    SAVE_CFLAGS="$CFLAGS"    SAVE_CFLAGS="$CFLAGS"
1983    CFLAGS="$CFLAGS -belf"    CFLAGS="$CFLAGS -belf"
1984    echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6    echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1985  echo "configure:1982: checking whether the C compiler needs -belf" >&5  echo "configure:1986: checking whether the C compiler needs -belf" >&5
1986  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
1987    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1988  else  else
# Line 1991  ac_link='${CC-cc} -o conftest${ac_exeext Line 1995  ac_link='${CC-cc} -o conftest${ac_exeext
1995  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
1996    
1997       cat > conftest.$ac_ext <<EOF       cat > conftest.$ac_ext <<EOF
1998  #line 1995 "configure"  #line 1999 "configure"
1999  #include "confdefs.h"  #include "confdefs.h"
2000    
2001  int main() {  int main() {
2002    
2003  ; return 0; }  ; return 0; }
2004  EOF  EOF
2005  if { (eval echo configure:2002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2006    rm -rf conftest*    rm -rf conftest*
2007    lt_cv_cc_needs_belf=yes    lt_cv_cc_needs_belf=yes
2008  else  else
# Line 2133  else Line 2137  else
2137  fi  fi
2138    
2139  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2140  echo "configure:2137: checking how to run the C preprocessor" >&5  echo "configure:2141: checking how to run the C preprocessor" >&5
2141  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
2142  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
2143    CPP=    CPP=
# Line 2148  else Line 2152  else
2152    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
2153    # not just through cpp.    # not just through cpp.
2154    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2155  #line 2152 "configure"  #line 2156 "configure"
2156  #include "confdefs.h"  #include "confdefs.h"
2157  #include <assert.h>  #include <assert.h>
2158  Syntax Error  Syntax Error
2159  EOF  EOF
2160  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2161  { (eval echo configure:2158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2162  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2163  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2164    :    :
# Line 2165  else Line 2169  else
2169    rm -rf conftest*    rm -rf conftest*
2170    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
2171    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2172  #line 2169 "configure"  #line 2173 "configure"
2173  #include "confdefs.h"  #include "confdefs.h"
2174  #include <assert.h>  #include <assert.h>
2175  Syntax Error  Syntax Error
2176  EOF  EOF
2177  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2178  { (eval echo configure:2175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2179  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2180  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2181    :    :
# Line 2182  else Line 2186  else
2186    rm -rf conftest*    rm -rf conftest*
2187    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
2188    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2189  #line 2186 "configure"  #line 2190 "configure"
2190  #include "confdefs.h"  #include "confdefs.h"
2191  #include <assert.h>  #include <assert.h>
2192  Syntax Error  Syntax Error
2193  EOF  EOF
2194  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2195  { (eval echo configure:2192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2196  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2197  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2198    :    :
# Line 2216  for ac_hdr in string.h math.h Line 2220  for ac_hdr in string.h math.h
2220  do  do
2221  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2222  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2223  echo "configure:2220: checking for $ac_hdr" >&5  echo "configure:2224: checking for $ac_hdr" >&5
2224  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2225    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2226  else  else
2227    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2228  #line 2225 "configure"  #line 2229 "configure"
2229  #include "confdefs.h"  #include "confdefs.h"
2230  #include <$ac_hdr>  #include <$ac_hdr>
2231  EOF  EOF
2232  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2233  { (eval echo configure:2230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2234  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2235  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2236    rm -rf conftest*    rm -rf conftest*
# Line 2260  case $host in Line 2264  case $host in
2264    ;;    ;;
2265  *-ncr-sysv4.3*)  *-ncr-sysv4.3*)
2266    echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6    echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6
2267  echo "configure:2264: checking for _mwvalidcheckl in -lmw" >&5  echo "configure:2268: checking for _mwvalidcheckl in -lmw" >&5
2268  ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'`
2269  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2270    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2268  else Line 2272  else
2272    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2273  LIBS="-lmw  $LIBS"  LIBS="-lmw  $LIBS"
2274  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2275  #line 2272 "configure"  #line 2276 "configure"
2276  #include "confdefs.h"  #include "confdefs.h"
2277  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2278  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 2279  int main() { Line 2283  int main() {
2283  _mwvalidcheckl()  _mwvalidcheckl()
2284  ; return 0; }  ; return 0; }
2285  EOF  EOF
2286  if { (eval echo configure:2283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2287    rm -rf conftest*    rm -rf conftest*
2288    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2289  else  else
# Line 2300  else Line 2304  else
2304  fi  fi
2305    
2306    echo $ac_n "checking for main in -lm""... $ac_c" 1>&6    echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
2307  echo "configure:2304: checking for main in -lm" >&5  echo "configure:2308: checking for main in -lm" >&5
2308  ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
2309  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2310    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2308  else Line 2312  else
2312    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2313  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
2314  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2315  #line 2312 "configure"  #line 2316 "configure"
2316  #include "confdefs.h"  #include "confdefs.h"
2317    
2318  int main() {  int main() {
2319  main()  main()
2320  ; return 0; }  ; return 0; }
2321  EOF  EOF
2322  if { (eval echo configure:2319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2323    rm -rf conftest*    rm -rf conftest*
2324    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2325  else  else
# Line 2338  fi Line 2342  fi
2342    ;;    ;;
2343  *)  *)
2344    echo $ac_n "checking for main in -lm""... $ac_c" 1>&6    echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
2345  echo "configure:2342: checking for main in -lm" >&5  echo "configure:2346: checking for main in -lm" >&5
2346  ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
2347  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2348    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2346  else Line 2350  else
2350    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2351  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
2352  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2353  #line 2350 "configure"  #line 2354 "configure"
2354  #include "confdefs.h"  #include "confdefs.h"
2355    
2356  int main() {  int main() {
2357  main()  main()
2358  ; return 0; }  ; return 0; }
2359  EOF  EOF
2360  if { (eval echo configure:2357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2361    rm -rf conftest*    rm -rf conftest*
2362    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2363  else  else

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26