File: configure.in.patch

package info (click to toggle)
python-fitsio 1.1.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 864 kB
  • sloc: python: 5,425; ansic: 3,464; makefile: 8
file content (31 lines) | stat: -rw-r--r-- 1,196 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- cfitsio3470/configure.in	2018-03-01 10:28:51.000000000 -0600
+++ cfitsio3470/configure.in	2018-12-14 08:39:20.000000000 -0600
@@ -42,6 +42,13 @@
   [ if test $enableval = yes; then SSE_FLAGS="$SSE_FLAGS -mssse3"; fi ]
 )

+AC_ARG_ENABLE(
+  standard_strings,
+  [AS_HELP_STRING([--enable-standard-strings],[Enable use of FITSIO standard string processing])],
+  [ if test $enableval = yes; then USE_STANDARD_STRINGS=yes; fi ]
+)
+
+
 # Define BUILD_HERA when building for HERA project to activate code in
 # drvrfile.c (by way of fitsio2.h):
 AC_ARG_ENABLE(
@@ -582,6 +589,14 @@
   AC_CHECK_LIB([pthread],[main],[],[AC_MSG_ERROR(Unable to locate pthread library needed when enabling reentrant multithreading)])
 fi

+# ------------------------------------------------------------------------------
+# Define FITS_USE_STANDARD_STRINGS
+# ------------------------------------------------------------------------------
+if test "x$USE_STANDARD_STRINGS" = xyes; then
+  AC_DEFINE(FITS_USE_STANDARD_STRINGS)
+fi
+
+
 # -------------------------------------------------------------------------
 # there are some idiosyncrasies with semun defs (used in semxxx). Solaris
 # does not define it at all