File: acinclude.m4

package info (click to toggle)
prime 1.0.0.1-2.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,420 kB
  • sloc: ruby: 7,139; lisp: 1,866; sh: 442; makefile: 242
file content (33 lines) | stat: -rw-r--r-- 974 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
dnl acinclude.m4: m4 macros for Autoconf
dnl $Id: acinclude.m4,v 1.5.2.1 2005/03/08 12:36:20 komatsu Exp $
dnl
dnl Copyright (C) 2003, 2004 Hiroyuki Komatsu <komatsu@taiyaki.org>
dnl     All rights reserved.
dnl     This is free software with ABSOLUTELY NO WARRANTY.
dnl
dnl You can redistribute it and/or modify it under the terms of 
dnl the GNU General Public License version 2.

AC_DEFUN([AC_INIT_DEFAULT_VALUES],
[
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
])
AC_DEFUN([AC_VAR_EXPAND], [`eval echo $1`])


AC_DEFUN([MY_AC_PROG_RUBY],
[
    AC_SUBST(ruby_version,
        [`ruby -r rbconfig -e "puts Config::CONFIG[['ruby_version']]"`])
])

AC_DEFUN([AC_RUBY_SITELIBDIR],
    ['$(libdir)/site_ruby/$(ruby_version)'])
#    [`ruby -r rbconfig -e "puts Config::MAKEFILE_CONFIG[['rubylibdir']]"`])

AC_DEFUN([MY_AC_PROG_UIM],
[
    AC_SUBST(uim_scheme_dir,
	[`pkg-config uim --variable=prefix`"/share/uim"])
])