This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

target library configure bugfix



I've installed this patch.  The first part is mine, the second part is from
Angela.  For the gory details, see the earlier discussion between Angela
and myself.

libchill, libf2c, libobjc:
        * configure.in (AC_PREREQ): Update to 2.13.
        (AC_EXEEXT): Call to find possible file extension.
        (compiler_name): Use.
        * configure: Regenerate.

libio, libstdc++
        * configure.in: Test for ${compiler_name}.exe as well.


Index: libchill/configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libchill/configure.in,v
retrieving revision 1.7
diff -c -3 -p -r1.7 configure.in
*** libchill/configure.in	1999/03/24 21:45:40	1.7
--- libchill/configure.in	1999/05/20 09:21:57
*************** dnl This is needed for a multilibbed bui
*** 35,45 ****
  dnl that install-sh and config.sub get found.
  AC_CONFIG_AUX_DIR($topsrcdir)
  
- # We have to handle 3 cases -- native, cross and canadian cross -- and
- # the extension returned from this macro needs to be treated as a possible
- # scenario and not the only one.
- AC_EXEEXT
- 
  # If the language specific compiler does not exist, but the "gcc" directory 
  # does, we do not build anything. Note, $r is set by the top-level Makefile.
  # Note that when we look for the compiler, we search both with and without
--- 35,40 ----
*************** AC_CACHE_VAL(chill_cv_compiler_exists,
*** 52,58 ****
  if test -n "$r"; then
    if test -d "$r"/gcc; then
      if test -f "$r"/gcc/$compiler_name \
!        || test -f "$r"/gcc/$compiler_name$EXEEXT; then
        true
      else
        chill_cv_compiler_exists=no
--- 47,53 ----
  if test -n "$r"; then
    if test -d "$r"/gcc; then
      if test -f "$r"/gcc/$compiler_name \
!        || test -f "$r"/gcc/$compiler_name.exe; then
        true
      else
        chill_cv_compiler_exists=no
Index: libf2c/configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libf2c/configure.in,v
retrieving revision 1.24
diff -c -3 -p -r1.24 configure.in
*** libf2c/configure.in	1999/03/31 10:56:33	1.24
--- libf2c/configure.in	1999/05/20 09:21:59
*************** dnl This is needed for a multilibbed bui
*** 35,45 ****
  dnl that install-sh and config.sub get found.
  AC_CONFIG_AUX_DIR($topsrcdir)
  
- # We have to handle 3 cases -- native, cross and canadian cross -- and
- # the extension returned from this macro needs to be treated as a possible
- # scenario and not the only one.
- AC_EXEEXT
- 
  # If the language specific compiler does not exist, but the "gcc" directory 
  # does, we do not build anything. Note, $r is set by the top-level Makefile.
  # Note that when we look for the compiler, we search both with and without
--- 35,40 ----
*************** AC_CACHE_VAL(g77_cv_compiler_exists,
*** 52,58 ****
  if test -n "$r"; then
    if test -d "$r"/gcc; then
      if test -f "$r"/gcc/$compiler_name \
!        || test -f "$r"/gcc/$compiler_name$EXEEXT; then
        true
      else
        g77_cv_compiler_exists=no
--- 47,53 ----
  if test -n "$r"; then
    if test -d "$r"/gcc; then
      if test -f "$r"/gcc/$compiler_name \
!        || test -f "$r"/gcc/$compiler_name.exe; then
        true
      else
        g77_cv_compiler_exists=no
Index: libio/configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libio/configure.in,v
retrieving revision 1.20
diff -c -3 -p -r1.20 configure.in
*** libio/configure.in	1999/05/12 08:39:21	1.20
--- libio/configure.in	1999/05/20 09:22:02
***************
*** 2,19 ****
  # necessary for a configure script to process the program in
  # this directory.  For more information, look at ../configure.
  
- # find a possible extension of the just-built C++ compiler. Note that this
- # is not the only choice, taking into cross and canadian cross into
- # account, and we need to search for with and without the extension.
- case "${host_alias}" in
- *cygwin* | *mingw32*)
-   EXEEXT=.exe
-   ;;
- *)
-   EXEEXT=
-   ;;
- esac
- 
  # If the language specific compiler does not exist, but the "gcc" directory 
  # does, we do not build anything. Note, $r is set by the top-level Makefile.
  # Note that when we look for the compiler, we search both with and without
--- 2,7 ----
*************** rm -f skip-this-dir
*** 25,31 ****
  if test -n "$r" && [ -z "$norecursion" ] ; then
    if test -d "$r"/gcc; then
      if test -f "$r"/gcc/$compiler_name \
!        || test -f "$r"/gcc/$compiler_name$EXEEXT; then
        true
      else
        echo "rm -f multilib.out" > skip-this-dir
--- 13,19 ----
  if test -n "$r" && [ -z "$norecursion" ] ; then
    if test -d "$r"/gcc; then
      if test -f "$r"/gcc/$compiler_name \
!        || test -f "$r"/gcc/$compiler_name.exe; then
        true
      else
        echo "rm -f multilib.out" > skip-this-dir
Index: libobjc/configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libobjc/configure.in,v
retrieving revision 1.9
diff -c -3 -p -r1.9 configure.in
*** libobjc/configure.in	1999/03/24 21:46:40	1.9
--- libobjc/configure.in	1999/05/20 09:22:08
*************** dnl This is needed for a multilibbed bui
*** 36,46 ****
  dnl that install-sh and config.sub get found.
  AC_CONFIG_AUX_DIR($topsrcdir)
  
- # We have to handle 3 cases -- native, cross and canadian cross -- and
- # the extension returned from this macro needs to be treated as a possible
- # scenario and not the only one.
- AC_EXEEXT
- 
  # If the language specific compiler does not exist, but the "gcc" directory 
  # does, we do not build anything. Note, $r is set by the top-level Makefile.
  # Note that when we look for the compiler, we search both with and without
--- 36,41 ----
*************** AC_CACHE_VAL(objc_cv_compiler_exists,
*** 53,59 ****
  if test -n "$r"; then
    if test -d "$r"/gcc; then
      if test -f "$r"/gcc/$compiler_name \
!        || test -f "$r"/gcc/$compiler_name$EXEEXT; then
        true
      else
        objc_cv_compiler_exists=no
--- 48,54 ----
  if test -n "$r"; then
    if test -d "$r"/gcc; then
      if test -f "$r"/gcc/$compiler_name \
!        || test -f "$r"/gcc/$compiler_name.exe; then
        true
      else
        objc_cv_compiler_exists=no
Index: libstdc++/configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libstdc++/configure.in,v
retrieving revision 1.26
diff -c -3 -p -r1.26 configure.in
*** libstdc++/configure.in	1999/05/15 02:06:36	1.26
--- libstdc++/configure.in	1999/05/20 09:22:08
***************
*** 2,19 ****
  # necessary for a configure script to process the program in
  # this directory.  For more information, look at ../configure.
  
- # find a possible extension of the just-built C++ compiler. Note that this
- # is not the only choice, taking into cross and canadian cross into
- # account, and we need to search for with and without the extension.
- case "${host_alias}" in
- *cygwin* | *mingw32*)
-   EXEEXT=.exe
-   ;;
- *)
-   EXEEXT=
-   ;;
- esac
- 
  # If the language specific compiler does not exist, but the "gcc" directory 
  # does, we do not build anything. Note, $r is set by the top-level Makefile.
  # Note that when we look for the compiler, we search both with and without
--- 2,7 ----
*************** rm -f skip-this-dir
*** 25,31 ****
  if test -n "$r" && [ -z "$norecursion" ] ; then
    if test -d "$r"/gcc; then
      if test -f "$r"/gcc/$compiler_name \
!        || test -f "$r"/gcc/$compiler_name$EXEEXT; then
        true
      else
        echo "rm -f multilib.out" > skip-this-dir
--- 13,19 ----
  if test -n "$r" && [ -z "$norecursion" ] ; then
    if test -d "$r"/gcc; then
      if test -f "$r"/gcc/$compiler_name \
!        || test -f "$r"/gcc/$compiler_name.exe; then
        true
      else
        echo "rm -f multilib.out" > skip-this-dir
===================================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]