openmotif-2.3.2-sanitise-paths.patch 734 B

12345678910111213141516171819202122232425262728
  1. * don't do automagic guessing of paths
  2. --- configure.ac
  3. +++ configure.ac
  4. @@ -183,21 +183,8 @@
  5. case "$host_os" in
  6. freebsd*) CFLAGS="$CFLAGS -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI";
  7. - LDFLAGS="$LDFLAGS -L/usr/local/lib";;
  8. + ;;
  9. cygwin*) CFLAGS="$CFLAGS -DXNO_MTSAFE_DIRENTDAPI";;
  10. - solaris* | sunos*) X_LIBS="$X_LIBS -L/usr/X/lib" &&
  11. - if test x$enable_motif22_compatibility = x
  12. - then
  13. - enable_motif22_compatibility="no"
  14. - fi;
  15. - if test x$enable_utf8 = x
  16. - then
  17. - enable_utf8="no"
  18. - fi;
  19. - if test x$enable_xft = x
  20. - then
  21. - enable_xft="no"
  22. - fi;;
  23. esac
  24. if test x$enable_motif22_compatibility = x