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

Diff of /libtool/libtoolize.m4sh

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

revision 1.27 by rwild, Sun Apr 17 06:50:25 2005 UTC revision 1.28 by rwild, Tue Apr 19 16:40:52 2005 UTC
# Line 462  func_scan_files () Line 462  func_scan_files ()
462      # in `Makefile.am' for a `-I' argument.      # in `Makefile.am' for a `-I' argument.
463    
464      my_sed_aclocal_flags='/^[[  ]]*ACLOCAL_[[A-Z_]]*FLAGS[[     ]]*=/ {      my_sed_aclocal_flags='/^[[  ]]*ACLOCAL_[[A-Z_]]*FLAGS[[     ]]*=/ {
465          s,^[[^=]]*=[[   ]]*\(.*\), \1,; q; }; d'          s,^[[^=]]*=[[   ]]*\(.*\), \1,; q; };
466            d'
467      if test ! -n "$m4dir" && test -f Makefile.am; then      if test ! -n "$m4dir" && test -f Makefile.am; then
468        my_m4dir_is_next=false        my_m4dir_is_next=false
469        for arg in `$SED "$my_sed_aclocal_flags" Makefile.am`; do        for arg in `$SED "$my_sed_aclocal_flags" Makefile.am`; do
# Line 514  func_serial () Line 515  func_serial ()
515      my_macro_regex="$2"      my_macro_regex="$2"
516      my_sed_serial=['/^# serial [1-9][0-9.]*[    ]*'"$my_macro_regex"'[  ]*$/ {      my_sed_serial=['/^# serial [1-9][0-9.]*[    ]*'"$my_macro_regex"'[  ]*$/ {
517            s,^# serial \([1-9][0-9.]*\).*$,\1,; q;            s,^# serial \([1-9][0-9.]*\).*$,\1,; q;
518          }; d']          };
519            d']
520    
521      # Search FILENAME and all the files it m4_includes for a serial number      # Search FILENAME and all the files it m4_includes for a serial number
522      # in the file that AC_DEFUNs MACRO_REGEX.      # in the file that AC_DEFUNs MACRO_REGEX.
# Line 737  func_ltmain_update () Line 739  func_ltmain_update ()
739      $opt_debug      $opt_debug
740      my_sed_ltmain=['/^package_revision='\''*[0-9][1-9.]*'\''*/ {      my_sed_ltmain=['/^package_revision='\''*[0-9][1-9.]*'\''*/ {
741        s,^package_revision='\''*\([0-9.]*\)'\''*[        ]*$,\1,; p;        s,^package_revision='\''*\([0-9.]*\)'\''*[        ]*$,\1,; p;
742      }; d']      };
743        d']
744    
745      func_keyword_update "$1" "$2" "$3" "$my_sed_ltmain"      func_keyword_update "$1" "$2" "$3" "$my_sed_ltmain"
746    
# Line 754  func_config_update () Line 757  func_config_update ()
757      $opt_debug      $opt_debug
758      my_sed_config=['/^timestamp='\''*[0-9][1-9-]*'\''*/ {      my_sed_config=['/^timestamp='\''*[0-9][1-9-]*'\''*/ {
759        s,^timestamp='\''*\([0-9-]*\)'\''*,\1,; s/-/./g; p;        s,^timestamp='\''*\([0-9-]*\)'\''*,\1,; s/-/./g; p;
760      }; d']      };
761        d']
762    
763      func_keyword_update "$1" "$2" "$3" "$my_sed_config"      func_keyword_update "$1" "$2" "$3" "$my_sed_config"
764    
# Line 771  func_install_update () Line 775  func_install_update ()
775      $opt_debug      $opt_debug
776      my_sed_install=['/^scriptversion='\''*[0-9][1-9.-]*'\''*/ {      my_sed_install=['/^scriptversion='\''*[0-9][1-9.-]*'\''*/ {
777        s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,; s/-/./g; p;        s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,; s/-/./g; p;
778      }; d']      };
779        d']
780    
781      func_keyword_update "$1" "$2" "$3" "$my_sed_install"      func_keyword_update "$1" "$2" "$3" "$my_sed_install"
782    

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

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