Subject: Re: PATCH -u Re: BUG Report : automake on cygwin is acting up on --srcdir-name=.
From: James Michael DuPont <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Fri, 17 Jan 2003 07:58:02 -0800 (PST)

errr
thanks!
DOh!
--- /usr/bin/automake~	2002-10-22 03:46:27.000000000 +0200
+++ /usr/bin/automake	2003-01-17 16:42:26.000000000 +0100
@@ -24,6 +24,7 @@
 unset opt_foreign
 unset opt_std_options
 unset opt_include_deps
+unset opt_build_dirs
 unset opt_ignore_deps
 unset opt_no_force
 unset opt_force_missing
@@ -93,6 +94,15 @@
        opt_include_deps="--include-deps"
        shift ;;
 
+      # [email-masked]
+    --build-dir=* )
+       opt_build_dir="--build-dir"
+       shift ;;
+      
+    --srcdir-name=* )
+       opt_srcdir_name="--srcdir-name"
+       shift ;;
+
 
     --ignore-deps | -i )
        opt_ignore_deps="--ignore-deps"
@@ -112,13 +122,13 @@
     --output-dir=* | -o?* )
        opt_output_dir="--output-dir=$optarg"
        shift ;;
+
     --output-dir | -o )
        test $# = 1 && eval "$exit_missing_arg"
        shift
        opt_output_dir="--output-dir=$1"
        shift ;;
     
-
     --add-missing | -a )
        opt_add_missing="--add-missing"
        shift ;;
@@ -255,7 +265,7 @@
 exec automake $opt_version $opt_help \
 $opt_verbose $opt_libdir $opt_gnu \
 $opt_gnits $opt_cygnus $opt_foreign \
-$opt_std_options $opt_include_deps $opt_ignore_deps \
+$opt_std_options $opt_include_deps $opt_build_dir $opt_srcdir_name
$opt_ignore_deps \
 $opt_no_force $opt_force_missing \
 $opt_output_dir $opt_add_missing \
 $opt_copy $opt_werror $opt_wno_error \

--- Igor Pechtchanski <[email-masked]> wrote:
> FYI, this looks like a reverse patch...
> 	Igor
> 
> On Fri, 17 Jan 2003, James Michael DuPont wrote:
> 
> > here is the path to the cygwin driver :
> > --- /usr/bin/automake   2003-01-17 16:42:26.000000000 +0100
> > +++ /usr/bin/automake~  2002-10-22 03:46:27.000000000 +0200
> > @@ -24,7 +24,6 @@
> >  unset opt_foreign
> >  unset opt_std_options
> >  unset opt_include_deps
> > -unset opt_build_dirs
> >  unset opt_ignore_deps
> >  unset opt_no_force
> >  unset opt_force_missing
> > @@ -94,15 +93,6 @@
> >         opt_include_deps="--include-deps"
> >         shift ;;
> >
> > -      # [email-masked]
> > -    --build-dir=* )
> > -       opt_build_dir="--build-dir"
> > -       shift ;;
> > -
> > -    --srcdir-name=* )
> > -       opt_srcdir_name="--srcdir-name"
> > -       shift ;;
> > -
> >
> >      --ignore-deps | -i )
> >         opt_ignore_deps="--ignore-deps"
> > @@ -122,13 +112,13 @@
> >      --output-dir=* | -o?* )
> >         opt_output_dir="--output-dir=$optarg"
> >         shift ;;
> > -
> >      --output-dir | -o )
> >         test $# = 1 && eval "$exit_missing_arg"
> >         shift
> >         opt_output_dir="--output-dir=$1"
> >         shift ;;
> >
> > +
> >      --add-missing | -a )
> >         opt_add_missing="--add-missing"
> >         shift ;;
> > @@ -265,7 +255,7 @@
> >  exec automake $opt_version $opt_help \
> >  $opt_verbose $opt_libdir $opt_gnu \
> >  $opt_gnits $opt_cygnus $opt_foreign \
> > -$opt_std_options $opt_include_deps $opt_build_dir $opt_srcdir_name
> > $opt_ignore_deps \
> > +$opt_std_options $opt_include_deps $opt_ignore_deps \
> >  $opt_no_force $opt_force_missing \
> >  $opt_output_dir $opt_add_missing \
> >  $opt_copy $opt_werror $opt_wno_error \
> >
> >
> > --- James Michael DuPont <[email-masked]> wrote:
> > > Dear tom,
> > > any ideas?
> > > mike
> > >
> > > mdupont@PI /cygdrive/c/development/Everest-Unix
> > > $ automake-1.7  --srcdir-name=.
> > > automake-1.7: unrecognized option `--srcdir-name=.'
> > > automake-1.7: Try `/usr/bin/automake-1.7 --help' for more
> > > information.
> > >
> > > mdupont@PI /cygdrive/c/development/Everest-Unix
> > > $ automake  --srcdir-name=.
> > > automake: invalid option --srcdir-name=.
> > > Try `automake --help' for more information.
> > >
> > > mdupont@PI /cygdrive/c/development/Everest-Unix
> > > $ automake --version
> > > automake (GNU automake) 1.4-p5
> > >
> > > Copyright (C) 1999, 2001 Free Software Foundation, Inc.
> > > This is free software; see the source for copying conditions. 
> There
> > > is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR
> > > PURPOSE.
> > >
> > > Written by Tom Tromey <[email-masked]>
> > >
> > > mdupont@PI /cygdrive/c/development/Everest-Unix
> 
> -- 
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		[email-masked]
> ZZZzz /,`.-'`'    -.  ;-;;,_		[email-masked]
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> Oh, boy, virtual memory! Now I'm gonna make myself a really *big*
> RAMdisk!
>   -- /usr/games/fortune
> 

=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/