/[cvs]/eggdrop1.9/acconfig/config.stubs
ViewVC logotype

Annotation of /eggdrop1.9/acconfig/config.stubs

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Mon Jun 21 10:34:07 2004 UTC (15 years, 1 month ago) by wingman
Branch: MAIN
Changes since 1.2: +13 -2 lines
* I guess automake 1.6 compiles fine now. I've tested it on my local box,
  but i'm not really sure since i have 1.6 and 1.8 installed, so someone
  with a "clean" 1.6 install should try to boostrap it

1 wingman 1.1 #!/bin/sh
2 wingman 1.2 # Copyright (C) 2004 Eggheads Development Team
3     #
4     # This program is free software; you can redistribute it and/or
5     # modify it under the terms of the GNU General Public License
6     # as published by the Free Software Foundation; either version 2
7     # of the License, or (at your option) any later version.
8     #
9     # This program is distributed in the hope that it will be useful,
10     # but WITHOUT ANY WARRANTY; without even the implied warranty of
11     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12     # GNU General Public License for more details.
13     #
14     # You should have received a copy of the GNU General Public License
15     # along with this program; if not, write to the Free Software
16     # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17     #
18 wingman 1.3 # $Id: config.stubs,v 1.2 2004/06/17 20:52:34 wingman Exp $
19 wingman 1.1
20     files=`find . -name "config*.m4" | \
21     sed 's#\(.*/config\)\(.*\).m4#\20 \1\2.m4#' | \
22     sort | \
23     sed 's#.* ##'`
24    
25     for file in $files; do
26     if [ -r $file ]; then
27 wingman 1.3
28     if [ "$1" = "--bootstrap" ]; then
29     dir=`echo $file | awk '{ len = split($0, tok, "/"); printf substr($0, 0, length($0) - length(tok[len]) - 1); }'`
30     makefiles="$dir/Makefile $makefiles"
31     else
32     echo "m4_include($file)"
33     fi
34    
35 wingman 1.1 fi
36     done
37    
38 wingman 1.3 if [ "$1" = "--bootstrap" ]; then
39     echo "Generating module Makefile.in's..."
40     $2 $makefiles
41     fi;

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23