autogen.sh 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. #!/bin/sh
  2. # StarPU --- Runtime system for heterogeneous multicore architectures.
  3. #
  4. # Copyright (C) 2010,2011,2014,2016 Université de Bordeaux
  5. # Copyright (C) 2010,2015,2017 CNRS
  6. # Copyright (C) 2017 Inria
  7. #
  8. # StarPU is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU Lesser General Public License as published by
  10. # the Free Software Foundation; either version 2.1 of the License, or (at
  11. # your option) any later version.
  12. #
  13. # StarPU is distributed in the hope that it will be useful, but
  14. # WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  16. #
  17. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  18. #
  19. if ! libtool --version > /dev/null
  20. then
  21. # Perhaps we are on a Mac
  22. if ! glibtool --version > /dev/null
  23. then
  24. echo "GNU Libtool is missing, please install it and fix the PATH to it."
  25. exit 1
  26. else
  27. export LIBTOOL=glibtool
  28. export LIBTOOLIZE=glibtoolize
  29. fi
  30. fi
  31. autoreconf -ivf -I m4