Commit 9733e34 Jordan Bieder
committed
1 parent a69cb2f commit 9733e34 Copy full SHA for 9733e34
File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 265
265
cat configure.tmp configure2 > configure.ac
266
266
rm configure.tmp
267
267
268
- LIBTOOLIZE=$( which glibtoolize libtoolize)
268
+ LIBTOOLIZE=$( which glibtoolize 2> /dev/null || which libtoolize 2> /dev/null)
269
+ if [ -z " $LIBTOOLIZE " ]
270
+ then
271
+ echo " Missign libtoolize or glibtoolize"
272
+ exit 1
273
+ fi
269
274
# if test "$OSTYPE" = "darwin*"
270
275
# then
271
276
# LIBTOOLIZE=glibtoolize
Original file line number Diff line number Diff line change @@ -483,7 +483,6 @@ std::string agateVersion(){
483
483
484
484
std::string agateLatestVersion (){
485
485
#ifdef HAVE_CURL
486
- #if defined(__GNUC__) && __GNUC_PREREQ(4,9)
487
486
static std::string latest;
488
487
if ( latest.empty () ) {
489
488
latest = PACKAGE_VERSION;
@@ -521,9 +520,6 @@ std::string agateLatestVersion(){
521
520
#else
522
521
return PACKAGE_VERSION;
523
522
#endif
524
- #else
525
- return PACKAGE_VERSION;
526
- #endif
527
523
}
528
524
529
525
std::string spglibVersion (){
You can’t perform that action at this time.
0 commit comments