~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to _autosetup

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
 
## $Id: _autosetup 15282 2008-05-23 19:24:20Z davea $
 
3
## $Id: _autosetup 19144 2009-09-23 17:16:24Z davea $
4
4
 
5
5
## ---------- some portability checks/adjustments [stolen from configure] ----------
6
6
## 'echo -n' is not portable..
78
78
          have_gmake=yes;
79
79
      else
80
80
        echo "Couldn't find a new-enough version of GNU 'make', please install one!";
 
81
    echo "If you have a newer version, set the environment variable 'MAKE' to its path";
81
82
        exit 1;
82
83
      fi
83
84
  fi
94
95
         have_gm4=yes;
95
96
      else 
96
97
         echo "Couldn't find a new-enough version of 'm4', please install one!";
 
98
         echo "If you have a newer version, set the environment variable 'M4' to its path";
97
99
         exit 1;
98
100
      fi
99
101
      # build_lsc_aux "m4-1.4.1"
107
109
      # build_lsc_aux "pkgconfig-0.15.0"
108
110
  fi
109
111
 
110
 
  if check_version autoconf 2.58; then
 
112
  if check_version autoreconf 2.58; then
111
113
      echo >/dev/null
112
114
  else
113
 
      echo "Couldn't find a new-enough version of 'autoconf', please install one!";
114
 
      echo "If you have a newer version, set the environment-variable 'AUTOCONF' to its path";
 
115
      echo "Couldn't find a new-enough version of 'autoreconf', please install one!";
115
116
      exit 1;
116
117
      # build_lsc_aux "autoconf-2.59"
117
118
  fi
119
120
      echo >/dev/null
120
121
  else
121
122
      echo "Couldn't find a new-enough version of 'automake', please install one!";
122
 
      echo "If you have a newer version, set the environment-variable 'AUTOMAKE' to its path";
 
123
      echo "If you have a newer version, set the environment variable 'AUTOMAKE' and 'ACLOCAL' to its path";
123
124
      exit 1;
124
125
      # build_lsc_aux "automake-1.8.5"
125
126
  fi
 
127
  if check_version libtoolize 1.5; then
 
128
      echo >/dev/null
 
129
  else
 
130
      echo "Couldn't find a new-enough version of 'libtoolize', please install one!";
 
131
      echo "If you have a newer version, set the environment variable 'LIBTOOLIZE' to its path";
 
132
      exit 1;
 
133
  fi
126
134
 
127
 
  ## ---------- ok, now run aclocal, automake, autohead and autoconf
128
 
  cmdline="aclocal -I m4 && autoheader && automake && autoconf";
 
135
  ## ---------- now run autoreconf
 
136
  cmdline="autoreconf -i";
129
137
echo "$cmdline"
130
138
if eval $cmdline; then
131
139
    echo "Done, now run ./configure"