Yasumichi Akahoshi
yasum****@users*****
2005年 5月 12日 (木) 03:00:14 JST
Index: cxplorer/configure.ac diff -u /dev/null cxplorer/configure.ac:1.1 --- /dev/null Thu May 12 03:00:14 2005 +++ cxplorer/configure.ac Thu May 12 03:00:14 2005 @@ -0,0 +1,68 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT(cxplorer, 1.9.20050512, yasum****@users*****) +AC_CONFIG_SRCDIR([src]) +AC_CONFIG_HEADER([config.h]) +AM_INIT_AUTOMAKE +AM_MAINTAINER_MODE +AM_GCONF_SOURCE_2 + +# Checks for programs. +AC_PROG_CC +AC_PROG_INTLTOOL + +# Checks for libraries. +PKG_CHECK_MODULES(CXP, libcxp >= 0.4.0,,exit) +AC_SUBST(CXP_LIBS) +AC_SUBST(CXP_CFLAGS) + +PKG_CHECK_MODULES(GCONF, gconf-2.0,,exit) +AC_SUBST(GCONF_LIBS) +AC_SUBST(GCONF_CFLAGS) + +AC_CHECK_LIB(magic, magic_load, MAGIC_LIB='-lmagic', exit) +AC_SUBST(MAGIC_LIB) + +# Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS([fcntl.h string.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_STRUCT_TM + +# Checks for library functions. +AC_FUNC_STAT +AC_FUNC_STRFTIME +AC_CHECK_FUNCS([mkdir strstr]) + +# Checks for Additional stuffs. +GETTEXT_PACKAGE=cxplorer +AC_SUBST(GETTEXT_PACKAGE) +AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Define GETTEXT_PACKAGE]) + +ALL_LINGUAS="ja" +AM_GLIB_GNU_GETTEXT + +# Set PACKAGE_*_DIR in config.h. +if test "x${prefix}" = "xNONE"; then + prefix=${ac_default_prefix} +fi +AC_DEFINE_UNQUOTED([PACKAGE_LOCALE_DIR], ["${prefix}/${DATADIRNAME}/locale"], [Define mo directory]) + +PACKAGE_DATA_DIR=`eval echo ${datadir}`/cxplorer +AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "$PACKAGE_DATA_DIR", Define data directory of package.) + +PACKAGE_PIXMAPS_DIR=`eval echo ${datadir}`/pixmaps +AC_DEFINE_UNQUOTED(PACKAGE_PIXMAPS_DIR, "$PACKAGE_PIXMAPS_DIR", Define pixmas directory of package.) + +AC_CONFIG_FILES([ + config/Makefile + pixmaps/Makefile + po/Makefile.in + src/Makefile + Makefile +]) +AC_OUTPUT