You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
858 B

2 months ago
  1. 8c8
  2. < echo "$0: requires 1 arg (path of GMP library)"
  3. ---
  4. > echo "ERROR: $0: requires 1 arg (path of GMP library)"
  5. 13a14,19
  6. > PLATFORM=`basename "$GMP_LIB"`
  7. > if [ "$PLATFORM" = "lib" ]
  8. > then
  9. > PLATFORM=
  10. > fi
  11. >
  12. 24a31
  13. > GMP_INC_DIR3="$GMP_LIB_DIR_DIR/include/$PLATFORM"
  14. 30a38,40
  15. > elif [ -n "$PLATFORM" -a -f "$GMP_INC_DIR3/gmp.h" ]
  16. > then
  17. > GMP_INC_DIR="$GMP_INC_DIR3"
  18. 32c42
  19. < echo "Cannot find GMP header for $GMP_LIB; searched in $GMP_INC_DIR1 and $GMP_INC_DIR2"
  20. ---
  21. > echo "ERROR: $0: Cannot find GMP header for $GMP_LIB; searched in $GMP_INC_DIR1 and $GMP_INC_DIR2 and $GMP_INC_DIR3"
  22. 36c46
  23. < if [ -f "$GMP_INC_DIR/gmp.h" -a -r "$GMP_INC_DIR/gmp.h" ]
  24. ---
  25. > if [ -r "$GMP_INC_DIR/gmp.h" ]
  26. 44c54
  27. < echo "Trouble reading GMP header file $GMP_INC_DIR/gmp.h"
  28. ---
  29. > echo "ERROR: $0: Trouble reading GMP header file $GMP_INC_DIR/gmp.h"