OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [libiberty/] [configure] - Diff between revs 161 and 166

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 161 Rev 166
Line 3918... Line 3918...
 
 
ac_c_preproc_warn_flag=yes
ac_c_preproc_warn_flag=yes
 
 
ac_libiberty_warn_cflags=
ac_libiberty_warn_cflags=
save_CFLAGS="$CFLAGS"
save_CFLAGS="$CFLAGS"
for option in -W -Wall -Wwrite-strings -Wc++-compat \
for real_option in -W -Wall -Wwrite-strings -Wc++-compat \
                          -Wstrict-prototypes; do
                          -Wstrict-prototypes; do
 
  # Do the check with the no- prefix removed since gcc silently
 
  # accepts any -Wno-* option on purpose
 
  case $real_option in
 
    -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
 
    *) option=$real_option ;;
 
  esac
  as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
  as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
 
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
$as_echo_n "checking whether $CC supports $option... " >&6; }
$as_echo_n "checking whether $CC supports $option... " >&6; }
if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
Line 3951... Line 3957...
fi
fi
eval ac_res=\$$as_acx_Woption
eval ac_res=\$$as_acx_Woption
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
$as_echo "$ac_res" >&6; }
  if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
  if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
  ac_libiberty_warn_cflags="$ac_libiberty_warn_cflags${ac_libiberty_warn_cflags:+ }$option"
  ac_libiberty_warn_cflags="$ac_libiberty_warn_cflags${ac_libiberty_warn_cflags:+ }$real_option"
fi
fi
  done
  done
CFLAGS="$save_CFLAGS"
CFLAGS="$save_CFLAGS"
 
 
 
# Do the check with the no- prefix removed from the warning options
 
# since gcc silently accepts any -Wno-* option on purpose
if test "$GCC" = yes; then :
if test "$GCC" = yes; then :
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic " >&5
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic " >&5
$as_echo_n "checking whether $CC supports -pedantic ... " >&6; }
$as_echo_n "checking whether $CC supports -pedantic ... " >&6; }
if test "${acx_cv_prog_cc_pedantic_+set}" = set; then :
if test "${acx_cv_prog_cc_pedantic_+set}" = set; then :
  $as_echo_n "(cached) " >&6
  $as_echo_n "(cached) " >&6
Line 4857... Line 4865...
    hppa*64*-*-hpux*)
    hppa*64*-*-hpux*)
        # PIC is the default for 64-bit PA HP-UX.
        # PIC is the default for 64-bit PA HP-UX.
        ;;
        ;;
    i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
    i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
        ;;
        ;;
    i[34567]86-*-interix3*)
    i[34567]86-*-interix[3-9]*)
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Instead, we relocate shared libraries at runtime.
        # Instead, we relocate shared libraries at runtime.
        ;;
        ;;
    i[34567]86-*-nto-qnx*)
    i[34567]86-*-nto-qnx*)
        # QNX uses GNU C++, but need to define -shared option too, otherwise
        # QNX uses GNU C++, but need to define -shared option too, otherwise
Line 4889... Line 4897...
        PICFLAG=-fpic
        PICFLAG=-fpic
        ;;
        ;;
    m68k-*-*)
    m68k-*-*)
        PICFLAG=-fpic
        PICFLAG=-fpic
        ;;
        ;;
    s390*-*-*)
 
        PICFLAG=-fpic
 
        ;;
 
    # FIXME: Override -fPIC default in libgcc only?
    # FIXME: Override -fPIC default in libgcc only?
    sh-*-linux* | sh[2346lbe]*-*-linux*)
    sh-*-linux* | sh[2346lbe]*-*-linux*)
        PICFLAG=-fpic
        PICFLAG=-fpic
        ;;
        ;;
    # FIXME: Simplify to sh*-*-netbsd*?
    # FIXME: Simplify to sh*-*-netbsd*?
Line 6814... Line 6819...
$as_echo_n "checking for working strncmp... " >&6; }
$as_echo_n "checking for working strncmp... " >&6; }
if test "${ac_cv_func_strncmp_works+set}" = set; then :
if test "${ac_cv_func_strncmp_works+set}" = set; then :
  $as_echo_n "(cached) " >&6
  $as_echo_n "(cached) " >&6
else
else
  if test "$cross_compiling" = yes; then :
  if test "$cross_compiling" = yes; then :
  ac_cv_func_strncmp_works=no
  ac_cv_func_strncmp_works=yes
else
else
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
/* end confdefs.h.  */
 
 
/* Test by Jim Wilson and Kaveh Ghazi.
/* Test by Jim Wilson and Kaveh Ghazi.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.