File: configure.patch

package info (click to toggle)
python-fitsio 1.2.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,200 kB
  • sloc: ansic: 9,410; python: 5,802; makefile: 9
file content (46 lines) | stat: -rw-r--r-- 1,461 bytes parent folder | download
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- cfitsio-4.2.0/configure	2022-10-31 14:40:23.000000000 -0400
+++ cfitsio-4.2.0/configure	2023-07-14 11:46:53.298055665 -0400
@@ -744,6 +744,7 @@
 enable_reentrant
 enable_sse2
 enable_ssse3
+enable_standard_strings
 enable_symbols
 enable_hera
 with_bzip2
@@ -1386,6 +1387,8 @@
   --enable-sse2           Enable use of instructions in the SSE2 extended
                           instruction set
   --enable-ssse3          Enable use of instructions in the SSSE3 extended
+  --enable-standard-strings
+                          Enable use of FITSIO standard string processing
                           instruction set
   --enable-symbols        Enable debugging symbols by turning optimization off
   --enable-hera           Build for HERA (ASD use only)
@@ -2622,6 +2625,11 @@
 
 fi
 
+# Check whether --enable-standard_strings was given.
+if test "${enable_standard_strings+set}" = set; then :
+  enableval=$enable_standard_strings;  if test $enableval = yes; then USE_STANDARD_STRINGS=yes; fi
+
+fi
 
 SYMBOLS=""
 # Check whether --enable-symbols was given.
@@ -2646,6 +2654,14 @@
 
 fi
 
+# ------------------------------------------------------------------------------
+# Define FITS_USE_STANDARD_STRINGS
+# ------------------------------------------------------------------------------
+if test "x$USE_STANDARD_STRINGS" = xyes; then
+  $as_echo "#define FITS_USE_STANDARD_STRINGS 1" >>confdefs.h
+
+fi
+
 # Optional support for bzip2 compression: