From: Stefano Lattarini Date: Tue, 17 Jan 2012 17:49:15 +0000 (+0100) Subject: getopt: new Autom4te::Getopt module X-Git-Tag: v2.68b~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4be358c2b97736cda5a0d543fa3d34d3cde40bd;p=thirdparty%2Fautoconf.git getopt: new Autom4te::Getopt module * lib/Autom4te/General.pm (getopt): Move the guts of its implementation ... * lib/Autom4te/Getopt.pm (parse_options): .. into this function in the new Autom4te::Getopt module. This will make it simpler for the implementation to be shared with other projects (right now, Automake). * lib/Automake/Makefile.am (dist_perllib_DATA): Add the new module. --- diff --git a/lib/Autom4te/General.pm b/lib/Autom4te/General.pm index f05042f6..0f93042d 100644 --- a/lib/Autom4te/General.pm +++ b/lib/Autom4te/General.pm @@ -36,6 +36,7 @@ use 5.006_002; use Exporter; use Autom4te::ChannelDefs; use Autom4te::Channels; +use Autom4te::Getopt (); use File::Basename; use File::Path (); use File::stat; @@ -232,12 +233,10 @@ sub debug (@) =item C -Wrapper around C. In addition to the user C