gnv_curl_configure.sh 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # File: gnv_curl_configure.sh
  2. #
  3. # $Id$
  4. #
  5. # Set up and run the configure script for Curl so that it can find the
  6. # proper options for VMS.
  7. #
  8. # Copyright 2013 - 2022, John Malmberg
  9. #
  10. # Permission to use, copy, modify, and/or distribute this software for any
  11. # purpose with or without fee is hereby granted, provided that the above
  12. # copyright notice and this permission notice appear in all copies.
  13. #
  14. # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  15. # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  16. # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  17. # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  18. # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  19. # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
  20. # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  21. #
  22. # SPDX-License-Identifier: ISC
  23. #
  24. # 06-Jun-2009 J. Malmberg
  25. # 28-Dec-2012 J. Malmberg Update for Bash 4.2.39
  26. #==========================================================================
  27. #
  28. # POSIX exit mode is needed for Unix shells.
  29. export GNV_CC_MAIN_POSIX_EXIT=1
  30. #
  31. # Where to look for the helper files.
  32. export GNV_OPT_DIR=.
  33. #
  34. # How to find the SSL library files.
  35. export LIB_OPENSSL=/SSL_LIB
  36. #
  37. # Override configure adding -std1 which is too strict for what curl
  38. # actually wants.
  39. export GNV_CC_QUALIFIERS=/STANDARD=RELAXED
  40. #
  41. # Set the directory to where the Configure script actually is.
  42. cd ../..
  43. #
  44. #
  45. ./configure --prefix=/usr --exec-prefix=/usr --disable-dependency-tracking \
  46. --disable-libtool-lock --with-gssapi --disable-ntlm-wb \
  47. --with-ca-path=gnv\$curl_ca_path
  48. #