8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 00:43:02 +01:00

Do not hard-code the value of ISC_PREFIX, but set it to installation

prefix (--prefix option).
This commit is contained in:
eku 2002-09-20 08:28:51 +00:00
parent a0b5fffdde
commit e65fb873c4
3 changed files with 6 additions and 11 deletions

View File

@ -1,4 +1,4 @@
dnl $Id: configure.in,v 1.46 2002-09-19 10:51:29 eku Exp $
dnl $Id: configure.in,v 1.47 2002-09-20 08:28:48 eku Exp $
dnl ############################# INITIALISATION ###############################
@ -265,6 +265,7 @@ NEW_FIREBIRD_DIR=$GEN_ROOT/firebird
AC_SUBST(BUILD_ROOT_DIR)
AC_SUBST(NEW_FIREBIRD_DIR)
AC_DEFINE_UNQUOTED(ISC_PREFIX,"$prefix")
dnl AC_DEFINE_UNQUOTED(FB_BUILD_TYPE, "$BuildType")
dnl AC_DEFINE_UNQUOTED(FB_MAJOR_VER, "$MajorVer")
dnl AC_DEFINE_UNQUOTED(FB_MINOR_VER, "$MinorVer")

View File

@ -121,19 +121,11 @@
#ifdef UNIX
#define WORKFILE "/tmp/"
#ifdef LINUX
#define ISC_PREFIX "/usr/local/firebird/"
#elif defined(SINIXZ)
#define ISC_PREFIX "/usr/apc/firebird/"
#else
#ifdef DARWIN
#undef ISC_PREFIX
#define ISC_PREFIX "/all/files/are/in/framework/resources"
/* #define ISC_PREFIX "/tmp" */
#define DARWIN_GEN_DIR "var"
#define DARWIN_FRAMEWORK_ID "com.firebirdsql.Firebird"
#else
#define ISC_PREFIX "/usr/local/firebird/"
#endif
#endif
#endif

View File

@ -1,4 +1,4 @@
#ident "$Id: config.h.in,v 1.35 2002-09-19 10:51:31 eku Exp $"
#ident "$Id: config.h.in,v 1.36 2002-09-20 08:28:51 eku Exp $"
/*
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete ports:
@ -126,4 +126,6 @@
#undef UNIXWARE
#undef SINIXZ
#define ISC_PREFIX /usr/local/firebird
#endif