patch-configure_ac 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. $OpenBSD: patch-configure_ac,v 1.1 2014/04/03 19:53:07 brad Exp $
  2. --- configure.ac.orig Thu Mar 27 03:45:56 2014
  3. +++ configure.ac Thu Mar 27 03:46:08 2014
  4. @@ -55,7 +55,7 @@ dnl make sure an optimization level is set. On jhbuild
  5. dnl overwritten, so we're using this to make sure some optimization is on
  6. dnl when compiling. This is especially important to speeding up the
  7. dnl reslicing algorithm
  8. -OPTIMIZATION_CFLAGS="-O2"
  9. +OPTIMIZATION_CFLAGS=""
  10. echo "setting optimization level to $OPTIMIZATION_CFLAGS"
  11. AC_SUBST(OPTIMIZATION_CFLAGS)
  12. @@ -106,7 +106,7 @@ AM_PATH_XMEDCON(0.10.0, FOUND_XMEDCON=yes, FOUND_XMEDC
  13. dnl switch to C++ for DCMTK library stuff - also, if pthread is on the platform, probably need that
  14. dnl autoconf doesn't have a nice macro for checking for c++ libraries, therefore the below:
  15. AC_CHECK_LIB(pthread, pthread_mutex_init, THREAD_LIBS="-lpthread", THREAD_LIBS="")
  16. -AMIDE_LIBDCMDATA_LIBS="-L/usr/local/dicom/lib -L/usr/lib64/dcmtk -L/usr/lib/dcmtk -ldcmdata -loflog -lofstd -lz $THREAD_LIBS"
  17. +AMIDE_LIBDCMDATA_LIBS=""
  18. AMIDE_LIBDCMDATA_CFLAGS="-I/usr/local/dicom/include"
  19. saved_libs="${LIBS}"
  20. LIBS="${LIBS} ${AMIDE_LIBDCMDATA_LIBS}"
  21. @@ -352,11 +352,8 @@ fi
  22. ## add in gnome-vfs if not on win32 or gtk-osx
  23. ## gnome-vfs is only used by amide_gnome.c and only on unix
  24. if (test $native_win32 = no) && (test $enable_native_gtk_osx = no); then
  25. - PKG_CHECK_MODULES(AMIDE_GTK_EXTRA_GVFS,[
  26. - gnome-vfs-2.0 >= 2.16.0
  27. - ])
  28. - AMIDE_GTK_LIBS="$AMIDE_GTK_LIBS $AMIDE_GTK_EXTRA_GVFS_LIBS"
  29. - AMIDE_GTK_CFLAGS="$AMIDE_GTK_CFLAGS $AMIDE_GTK_EXTRA_GVFS_CFLAGS"
  30. + AMIDE_GTK_LIBS="$AMIDE_GTK_LIBS"
  31. + AMIDE_GTK_CFLAGS="$AMIDE_GTK_CFLAGS"
  32. fi
  33. AC_SUBST(AMIDE_GTK_LIBS)