blob: b0e3345806a9a91a82af9cd66f67ca3dcef6060a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
#! /bin/sh
# -------------------------------------------------------------------------
# $Id$
#
# Bootstrap ACE/TAO configuration tools when checked out from CVS.
# Requires GNU autoconf, GNU automake and GNU libtool.
#
# This script is only meant to be run by ACE/TAO maintainers.
#
# -------------------------------------------------------------------------
# Copyright (C) 1999 Ossama Othman
#
# All Rights Reserved
#
# This library is free software; you can redistribute it and/or
# modify it under the current ACE distribution terms.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
set -e
# This script must be run from the top-level ACE source directory
if test -d m4; then
# Generate an `aclocal.m4' file from all existing m4 macro files
# including those in the `m4' directory.
echo Running aclocal
aclocal -I m4
# Generate a `config.h.in' configuration header template from `acconfig.h'.
echo 'Running autoheader (expect some "AC_TRY_RUN" warnings)'
autoheader
# Generate the `configure' script from the `configure.in'.
echo 'Running autoconf (expect some "AC_TRY_RUN" warnings)'
autoconf
# Generate all `Makefile.in' templates in the directories listed in
# `configure.in' and add any missing files that GNU Automake needs so
# that the distribution and configuration processes will run properly.
echo Running automake
automake --add-missing #--verbose
# Update the NEWS file
# For now just copy the contents of the `VERSION' file to make automake
# happy. Eventually, we should start putting real news in to it.
echo Creating a NEWS file
cp VERSION NEWS
# Generate the man pages
if test -f man/man3/ACE.3; then
echo ACE man pages have already been generated.
else
echo 'Generating the ACE man pages (this may take several minutes)'
(cd man/man3; \
ACE_ROOT=../..; \
export ACE_ROOT; \
ACE_HEADERS=`find $ACE_ROOT/ace -name CLASSIX -prune -o \
-name '*.h' ! -name 'config*.h' ! -name \
'ws2tcpip.h' -print`; \
$ACE_ROOT/bin/class2man $ACE_HEADERS > /dev/null)
fi # test -f man/man3/ACE.3
else
echo ACE must be bootstrapped from the top-level ACE source directory.
exit 1;
fi # test -d m4
|