Ver código fonte

Make sure to be using glibtool on macos

Samuel Thibault 8 anos atrás
pai
commit
282645fc3f
1 arquivos alterados com 6 adições e 3 exclusões
  1. 6 3
      autogen.sh

+ 6 - 3
autogen.sh

@@ -2,7 +2,7 @@
 
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 # 
-# Copyright (C) 2010  Université de Bordeaux
+# Copyright (C) 2010, 2016  Université de Bordeaux
 # Copyright (C) 2010  CNRS
 # 
 # StarPU is free software; you can redistribute it and/or modify
@@ -21,8 +21,11 @@ then
 	# Perhaps we are on a Mac
 	if ! glibtool --version > /dev/null
 	then
-	echo "GNU Libtool is missing, please install it."
-	exit 1
+		echo "GNU Libtool is missing, please install it and fix the PATH to it."
+		exit 1
+	else
+		export LIBTOOL=glibtool
+		export LIBTOOLIZE=glibtoolize
 	fi
 fi
 autoreconf -ivf -I m4