File: bootstrap

package info (click to toggle)
povray 1%3A3.6.1-12
  • links: PTS
  • area: non-free
  • in suites: lenny, squeeze
  • size: 31,084 kB
  • ctags: 20,310
  • sloc: ansic: 110,032; cpp: 86,573; sh: 13,595; pascal: 5,942; asm: 2,994; makefile: 1,753; ada: 1,637
file content (30 lines) | stat: -rwxr-xr-x 912 bytes parent folder | download | duplicates (2)
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
#!/bin/sh -x

# bootstrap for the source distribution of POV-Ray 3.6 for UNIX
# Written by Nicolas Calimet <pov4grasp@free.fr>
# Run this script if configure.ac or any Makefile.am has changed

# The cache directory is no more written thanks to $HOME/.autom4te.cfg:
#   begin-language: "Autoconf"
#   args: --no-cache
#   end-language: "Autoconf"

rm -f config.log config.status

# Create aclocal.m4 for extra automake and autoconf macros.
# Merge acincludes.m4 with aclocal.m4 .
aclocal

# Create conf.h.in .
autoheader --warnings=all

# Create all Makefile.in's from Makefile.am's .
automake --warnings=all --ignore-deps  ###

# Create configure from configure.ac .
autoconf --warnings=all

# Small post-fix of 'configure': add --srcdir when using --help=recursive
sed 's,configure.gnu  --help=recursive,& --srcdir=$ac_srcdir,g' ./configure > ./configure.tmp
mv ./configure.tmp ./configure
chmod +x ./configure