aboutsummaryrefslogtreecommitdiffstats
path: root/print/tex-dvipdfmx/files/m4-cho-libs.m4
diff options
context:
space:
mode:
Diffstat (limited to 'print/tex-dvipdfmx/files/m4-cho-libs.m4')
-rw-r--r--print/tex-dvipdfmx/files/m4-cho-libs.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/print/tex-dvipdfmx/files/m4-cho-libs.m4 b/print/tex-dvipdfmx/files/m4-cho-libs.m4
new file mode 100644
index 000000000000..b4fa0e5365fe
--- /dev/null
+++ b/print/tex-dvipdfmx/files/m4-cho-libs.m4
@@ -0,0 +1,12 @@
+--- m4/cho-libs.m4.orig 2013-05-07 15:29:52.000000000 +0900
++++ m4/cho-libs.m4 2013-05-07 15:45:02.000000000 +0900
+@@ -60,7 +60,8 @@
+ [struct paper *p;],
+ [AC_MSG_RESULT(yes)
+ AC_SEARCH_LIBS([paperpswidth], [paper],
+- [AC_DEFINE(HAVE_LIBPAPER, 1, [Define if you have libpaper])])],
++ [AC_DEFINE(HAVE_LIBPAPER, 1, [Define if you have libpaper])]m
++ [], [LIBS="-lpaper $LIBS"])],
+ [CPPFLAGS=$_cppflags
+ LDDFLAGS=$_ldflags
+ AC_MSG_RESULT(no)])