File: autogen.sh

package info (click to toggle)
backupninja 0.9.6-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,024 kB
  • ctags: 20
  • sloc: sh: 1,631; makefile: 244
file content (22 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

if [ "x$EDITOR" = "x" ];
then
        EDITOR=vi
fi

if [ "x$1" = "x-f"  ]
then
    autoscan
    [ -f "configure.in" ] && cp "configure.in" "configure.in.old"
    mv -f "configure.scan" "configure.in"
    echo "## This is just AUTOSCAN draft of configure.in"
    $EDITOR "configure.in"
fi

### použít jen když je třeba použít configure.h.in
#autoheader

aclocal \
&& automake -a -c \
&& autoconf