File: acinclude.m4

package info (click to toggle)
suikyo 2.1.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 904 kB
  • ctags: 115
  • sloc: ruby: 1,160; sh: 548; lisp: 165; makefile: 112
file content (27 lines) | stat: -rw-r--r-- 917 bytes parent folder | download | duplicates (3)
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
dnl acinclude.m4: m4 macros for Autoconf
dnl $Id: acinclude.m4,v 1.3 2005/01/10 19:19:51 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([AC_FILE_SANS_EXT], [`expr "x$1" : 'x\(.*\)\..*'`])

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']]"`])