diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-04-07 14:18:46 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-04-07 14:18:46 +0000 |
commit | f785455ebebdd1cf51563d3e9c4a13c2ed8c1c5e (patch) | |
tree | 9e32022a0d6e3cbf9f20148d97c6cf49e0ce9c09 /Build/source/texk/xdvik/m4/xdvi-cc-concat.m4 | |
parent | 552be2c4d81e17332a2f47148c46269c37f85afd (diff) |
new build system: more xdvik
git-svn-id: svn://tug.org/texlive/trunk@12651 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/m4/xdvi-cc-concat.m4')
-rw-r--r-- | Build/source/texk/xdvik/m4/xdvi-cc-concat.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/texk/xdvik/m4/xdvi-cc-concat.m4 b/Build/source/texk/xdvik/m4/xdvi-cc-concat.m4 new file mode 100644 index 00000000000..a37cbb2eb98 --- /dev/null +++ b/Build/source/texk/xdvik/m4/xdvi-cc-concat.m4 @@ -0,0 +1,13 @@ +dnl ### Check for whether the C compiler does string concatenation + +AC_DEFUN([XDVI_CC_CONCAT], +[AC_CACHE_CHECK([whether C compiler supports string concatenation], xdvi_cv_cc_concat, +[AC_TRY_COMPILE( +[#include <stdio.h> +], [puts("Testing" " string" " concatenation"); +], [xdvi_cv_cc_concat=yes], [xdvi_cv_cc_concat=no])]) +if test $xdvi_cv_cc_concat = yes; then + AC_DEFINE([HAVE_CC_CONCAT], 1, [Define if your C compiler can do string concatenation]) +fi]) + + |