openbsd-ports/graphics/xmedcon/patches/patch-configure
reinhard eb03298fc4 The project stands for Medical Image Conversion.
Released under the GPL licence, it comes with the full
C-source code of the library, a flexible command-line utility and a
neat graphical front-end using the Gtk+ toolkit. The supported
formats are:
 
Acr/Nema 2.0, Analyze (SPM), DICOM 3.0, Ecat/Matrix 6.4,
InterFile3.3 and Gif87a/89a.
 
The program also allows to read unsupported files without
compression, to print pixel values or to extract/reorder specified
images. It is possible to retrieve the raw binary/ascii image arrays or
to write annimated GIFs for desktop applications. The library could be
used as a framework for your own image formats.

From: Tom Knienieder <tom@knienieder.com>
2000-12-26 12:35:05 +00:00

226 lines
4.7 KiB
Plaintext

--- configure.orig Mon Dec 25 19:19:34 2000
+++ configure Mon Dec 25 19:22:21 2000
@@ -555,206 +555,22 @@ MEDCON_LIBVERS="(X)${MEDCON_PRGR} ${MEDC
-echo "BEGIN USER INPUT:"
-echo $ac_n "Check long long type enabled? ""$ac_c"
-if eval "test \"`echo '$''{'mdc_cv_lnglngcheck'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- mdc_cv_lnglngcheck=`
-read answ
-if test x$answ = xn -o x$answ = xno -o x$answ = xN -o x$answ = xNO;
-then
- echo "no"
-else
- echo "yes"
-fi
-`
-fi
-
-echo "$ac_t""${mdc_cv_lnglngcheck}" 1>&6
-echo""
-
-echo $ac_n "MedCon with X-support enabled? ""$ac_c"
-if eval "test \"`echo '$''{'mdc_cv_xsupport'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- mdc_cv_xsupport=`
-read answ
-if test x$answ = xn -o x$answ = xno -o x$answ = xN -o x$answ = xNO;
-then
- echo "no"
-else
- echo "yes"
-fi
-`
-fi
-
-echo "$ac_t""${mdc_cv_xsupport}" 1>&6
-echo ""
-
-echo $ac_n "Format Acr/Nema 2.0 enabled? ""$ac_c"
-if eval "test \"`echo '$''{'mdc_cv_include_acr'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- mdc_cv_include_acr=`
-read answ
-if test x$answ = xn -o x$answ = xno -o x$answ = xN -o x$answ = xNO;
-then
- echo "no"
-else
- echo "yes"
-fi
-`
-fi
-
-if test x$mdc_cv_include_acr = xyes; then
- ENABLE_ACR=1
-else
- ENABLE_ACR=0
-fi
-echo "$ac_t""${mdc_cv_include_acr}" 1>&6
-
-echo $ac_n "Format Gif87a/89a enabled? ""$ac_c"
-if eval "test \"`echo '$''{'mdc_cv_include_gif'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- mdc_cv_include_gif=`
-read answ
-if test x$answ = xn -o x$answ = xno -o x$answ = xN -o x$answ = xNO;
-then
- echo "no"
-else
- echo "yes"
-fi
-`
-fi
-
-if test x$mdc_cv_include_gif = xyes; then
- ENABLE_GIF=1
-else
- ENABLE_GIF=0
-fi
-echo "$ac_t""${mdc_cv_include_gif}" 1>&6
-
-echo $ac_n "Format INW (RUG) enabled? ""$ac_c"
-if eval "test \"`echo '$''{'mdc_cv_include_inw'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- mdc_cv_include_inw=`
-read answ
-if test x$answ = xn -o x$answ = xno -o x$answ = xN -o x$answ = xNO;
-then
- echo "no"
-else
- echo "yes"
-fi
-`
-fi
-
-if test x$mdc_cv_include_inw = xyes; then
- ENABLE_INW=1
-else
- ENABLE_INW=0
-fi
-echo "$ac_t""${mdc_cv_include_inw}" 1>&6
-
-echo $ac_n "Format Analyze (SPM) enabled? ""$ac_c"
-if eval "test \"`echo '$''{'mdc_cv_include_anlz'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- mdc_cv_include_anlz=`
-read answ
-if test x$answ = xn -o x$answ = xno -o x$answ = xN -o x$answ = xNO;
-then
- echo "no"
-else
- echo "yes"
-fi
-`
-fi
-
-if test x$mdc_cv_include_anlz = xyes; then
- ENABLE_ANLZ=1
-else
- ENABLE_ANLZ=0
-fi
-echo "$ac_t""${mdc_cv_include_anlz}" 1>&6
-
-echo $ac_n "Format Matrix/Ecat 6.4 enabled? ""$ac_c"
-if eval "test \"`echo '$''{'mdc_cv_include_ecat'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- mdc_cv_include_ecat=`
-read answ
-if test x$answ = xn -o x$answ = xno -o x$answ = xN -o x$answ = xNO;
-then
- echo "no"
-else
- echo "yes"
-fi
-`
-fi
-
-if test x$mdc_cv_include_ecat = xyes; then
- ENABLE_ECAT=1
-else
- ENABLE_ECAT=0
-fi
-echo "$ac_t""${mdc_cv_include_ecat}" 1>&6
-echo $ac_n "Format InterFile 3.3 enabled? ""$ac_c"
-if eval "test \"`echo '$''{'mdc_cv_include_intf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- mdc_cv_include_intf=`
-read answ
-if test x$answ = xn -o x$answ = xno -o x$answ = xN -o x$answ = xNO;
-then
- echo "no"
-else
- echo "yes"
-fi
-`
-fi
-
-if test x$mdc_cv_include_intf = xyes; then
- ENABLE_INTF=1
-else
- ENABLE_INTF=0
-fi
-echo "$ac_t""${mdc_cv_include_intf}" 1>&6
-
-echo $ac_n "Format DICOM 3.0 enabled? ""$ac_c"
-if eval "test \"`echo '$''{'mdc_cv_include_dicm'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- mdc_cv_include_dicm=`
-read answ
-if test x$answ = xn -o x$answ = xno -o x$answ = xN -o x$answ = xNO;
-then
- echo "no"
-else
- echo "yes"
-fi
-`
-fi
-
-echo "$ac_t""${mdc_cv_include_dicm}" 1>&6
-echo ""
-if test x$mdc_cv_include_dicm = xyes; then
- ENABLE_DICM=1
- if test x$mdc_cv_include_acr != xyes; then
- echo ""
- echo " Oeps. DICOM needs Acr/Nema to be enabled."
- echo " Therefore rerun configure to do so ..."
- echo ""
- exit 1
- fi
-else
- ENABLE_DICM=0
-fi
-
-echo ""
-echo "BEGIN CONFIGURATION:"
+mdc_cv_lnglngcheck="yes"
+mdc_cv_xsupport="yes"
+mdc_cv_include_acr="yes"
+ENABLE_ACR=1
+mdc_cv_include_gif="yes"
+ENABLE_GIF=1
+mdc_cv_include_inw="yes"
+ENABLE_INW=1
+mdc_cv_include_anlz="yes"
+ENABLE_ANLZ=1
+mdc_cv_include_ecat="yes"
+ENABLE_ECAT=1
+mdc_cv_include_intf="yes"
+ENABLE_INTF=1
+mdc_cv_include_dicm="yes"
+ENABLE_DICM=1
ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do