There is a problem in the configure script generated by autoconf v2.59
for at least some packages.  I've seen it in the autoconf v2.59
generated configure script for ImageMagick 6.0.4, and the library
packages, libtiff-3.7.2 and liblcms-1.14.  I reported this to
[EMAIL PROTECTED] and was told that GNU libtool provides the
affected portion of the configure script and that I should report the
problem to [EMAIL PROTECTED]

The problem is with matching sysv5UnixWare7.1.4 in $host_os.  The case
for sysv5* is matched before the case for sysv5UnixWare7*.  This is also
true for sysv5OpenUNIX8* and sysv5uw[78]* values of $host_os. 

For libtiff and liblcms, this misidentification results in the
$lt_cv_deplibs_check_method var being left in the default state of
"unknown" rather than being set to "pass_all", and ultimately prevents
the shared libraries from being built for those packages.

Attached is a patch with enough context to exemplify the problem.  This
is from the configure provided with liblcms.
-- 
Roger Cornelius        [EMAIL PROTECTED]
*** configure.orig      Mon Dec 13 04:00:59 2004
--- configure   Mon Sep  5 14:18:48 2005
***************
*** 4765,4815 ****
  osf3* | osf4* | osf5*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
  sco3.2v5*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
  solaris*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    case $host_vendor in
    motorola)
      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared 
object|dynamic lib) M[0-9][0-9]* Version [0-9]'
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
      ;;
    ncr)
      lt_cv_deplibs_check_method=pass_all
      ;;
    sequent)
      lt_cv_file_magic_cmd='/bin/file'
      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared 
object|dynamic lib )'
      ;;
    sni)
      lt_cv_file_magic_cmd='/bin/file'
      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic 
lib"
      lt_cv_file_magic_test_file=/lib/libc.so
      ;;
    siemens)
      lt_cv_deplibs_check_method=pass_all
      ;;
    esac
    ;;
- 
- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
-   lt_cv_deplibs_check_method=pass_all
-   ;;
  esac
  
  fi
  echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  # If no C compiler was specified, use CC.
  LTCC=${LTCC-"$CC"}
--- 4765,4815 ----
  osf3* | osf4* | osf5*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
  sco3.2v5*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
  solaris*)
    lt_cv_deplibs_check_method=pass_all
    ;;
  
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+ 
  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    case $host_vendor in
    motorola)
      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared 
object|dynamic lib) M[0-9][0-9]* Version [0-9]'
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
      ;;
    ncr)
      lt_cv_deplibs_check_method=pass_all
      ;;
    sequent)
      lt_cv_file_magic_cmd='/bin/file'
      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared 
object|dynamic lib )'
      ;;
    sni)
      lt_cv_file_magic_cmd='/bin/file'
      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic 
lib"
      lt_cv_file_magic_test_file=/lib/libc.so
      ;;
    siemens)
      lt_cv_deplibs_check_method=pass_all
      ;;
    esac
    ;;
  esac
  
  fi
  echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
  file_magic_cmd=$lt_cv_file_magic_cmd
  deplibs_check_method=$lt_cv_deplibs_check_method
  test -z "$deplibs_check_method" && deplibs_check_method=unknown
  
  
  # If no C compiler was specified, use CC.
  LTCC=${LTCC-"$CC"}
_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to