/[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.21 by rwild, Sun Apr 17 06:51:18 2005 UTC revision 1.1.2.22 by rwild, Tue Apr 19 16:41:31 2005 UTC
# Line 429  func_scan_files () Line 429  func_scan_files ()
429      # in `Makefile.am' for a `-I' argument.      # in `Makefile.am' for a `-I' argument.
430    
431      my_sed_aclocal_flags='/^[[  ]]*ACLOCAL_[[A-Z_]]*FLAGS[[     ]]*=/ {      my_sed_aclocal_flags='/^[[  ]]*ACLOCAL_[[A-Z_]]*FLAGS[[     ]]*=/ {
432          s,^[[^=]]*=[[   ]]*\(.*\), \1,; q; }; d'          s,^[[^=]]*=[[   ]]*\(.*\), \1,; q; };
433            d'
434      if test ! -n "$m4dir" && test -f Makefile.am; then      if test ! -n "$m4dir" && test -f Makefile.am; then
435        my_m4dir_is_next=false        my_m4dir_is_next=false
436        for arg in `$SED "$my_sed_aclocal_flags" Makefile.am`; do        for arg in `$SED "$my_sed_aclocal_flags" Makefile.am`; do
# Line 480  func_serial () Line 481  func_serial ()
481      my_macro_regex="$2"      my_macro_regex="$2"
482      my_sed_serial=['/^# serial [1-9][0-9.]*[    ]*'"$my_macro_regex"'[  ]*$/ {      my_sed_serial=['/^# serial [1-9][0-9.]*[    ]*'"$my_macro_regex"'[  ]*$/ {
483            s,^# serial \([1-9][0-9.]*\).*$,\1,; q;            s,^# serial \([1-9][0-9.]*\).*$,\1,; q;
484          }; d']          };
485            d']
486    
487      # 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
488      # in the file that AC_DEFUNs MACRO_REGEX.      # in the file that AC_DEFUNs MACRO_REGEX.
# Line 698  func_ltmain_update () Line 700  func_ltmain_update ()
700      $opt_debug      $opt_debug
701      my_sed_ltmain=['/^package_revision='\''*[0-9][1-9.]*'\''*/ {      my_sed_ltmain=['/^package_revision='\''*[0-9][1-9.]*'\''*/ {
702        s,^package_revision='\''*\([0-9.]*\)'\''[         ]*$,\1,; p;        s,^package_revision='\''*\([0-9.]*\)'\''[         ]*$,\1,; p;
703      }; d']      };
704        d']
705    
706      func_keyword_update "$1" "$2" "$my_sed_ltmain"      func_keyword_update "$1" "$2" "$my_sed_ltmain"
707  }  }
# Line 714  func_config_update () Line 717  func_config_update ()
717    
718      my_sed_config=['/^timestamp='\''*[0-9][1-9-]*'\''*/ {      my_sed_config=['/^timestamp='\''*[0-9][1-9-]*'\''*/ {
719        s,^timestamp='\''*\([0-9-]*\)'\''*,\1,; s/-/./g; p;        s,^timestamp='\''*\([0-9-]*\)'\''*,\1,; s/-/./g; p;
720      }; d']      };
721        d']
722    
723      func_keyword_update "$1" "$2" "$my_sed_config"      func_keyword_update "$1" "$2" "$my_sed_config"
724  }  }
# Line 728  func_install_update () Line 732  func_install_update ()
732      $opt_debug      $opt_debug
733      my_sed_install=['/^scriptversion='\''*[0-9][1-9.-]*'\''*/ {      my_sed_install=['/^scriptversion='\''*[0-9][1-9.-]*'\''*/ {
734        s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,; s/-/./g; p;        s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,; s/-/./g; p;
735      }; d']      };
736        d']
737    
738      func_keyword_update "$1" "$2" "$my_sed_install"      func_keyword_update "$1" "$2" "$my_sed_install"
739  }  }

Legend:
Removed from v.1.1.2.21  
changed lines
  Added in v.1.1.2.22

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