/[libtool]/libtool/libtoolize.m4sh
ViewVC logotype

Diff of /libtool/libtoolize.m4sh

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

revision 1.1.2.13 by gary, Thu Mar 10 20:58:05 2005 UTC revision 1.1.2.14 by gary, Tue Mar 15 12:56:30 2005 UTC
# Line 745  func_check_macros () Line 745  func_check_macros ()
745      # FIXME: Ensure ltmain.sh, libtool.m4 and ltdl.m4 are from the same release      # FIXME: Ensure ltmain.sh, libtool.m4 and ltdl.m4 are from the same release
746  }  }
747    
748    # func_massage_aclocal_DATA [glob_exclude]
749    # @aclocal_DATA\@ is substituted as per its value in Makefile.am; this
750    # function massages it into a suitable format for func_copy_some_files.
751    func_massage_aclocal_DATA ()
752    {
753        pkgmacro_files=     # GLOBAL VAR
754    
755        my_glob_exclude="$1"
756    
757        # Massage a value for pkgmacro_files from the value used in Makefile.am.
758        for my_filename in @aclocal_DATA@; do
759          my_filename=`$ECHO "X$my_filename" | $Xsed -e "$basename"`
760    
761           # ignore excluded filenames
762          if test -n "$my_glob_exclude"; then
763            eval 'case $my_filename in '$my_glob_exclude') continue ;; esac'
764          fi
765    
766          pkgmacro_files="$pkgmacro_files:$my_filename"
767        done
768    
769        # strip spurious leading `:'
770        pkgmacro_files=`$ECHO "X$pkgmacro_files" | $Xsed -e 's,^:*,,'`
771    }
772    
773    
774  ## ----------- ##  ## ----------- ##
775  ##    Main.    ##  ##    Main.    ##
# Line 753  func_check_macros () Line 778  func_check_macros ()
778  {  {
779    rerun_aclocal=false    rerun_aclocal=false
780    
781    # NOTE: PKGMACRO_FILES must be kept in synch with aclocal_DATA in the    # libtool.m4 and ltdl.m4 are handled specially below
782    #       libtool top_srcdir/Makefile.am (libtool.m4 and ltdl.m4 are handled    func_massage_aclocal_DATA 'libtool.m4|ltdl.m4'
   #       specially below though, so don't add them here):  
   pkgmacro_files='argz.m4:ltoptions.m4:ltsugar.m4:ltversion.m4'  
783    
784    glob_exclude_pkgaux_files='config.guess|config.sub|install-sh|ltmain.sh'    glob_exclude_pkgaux_files='config.guess|config.sub|install-sh|ltmain.sh'
785    

Legend:
Removed from v.1.1.2.13  
changed lines
  Added in v.1.1.2.14

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