Changeset 4484
- Timestamp:
- 07/06/06 06:36:22 (2 years ago)
- Location:
- trunk/licq
- Files:
-
- 4 modified
-
configure.in (modified) (1 diff)
-
include/licq_constants.h (modified) (1 diff)
-
src/licq.cpp (modified) (1 diff)
-
src/Makefile.am (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/configure.in
r4302 r4484 16 16 AC_DEFINE_UNQUOTED(INT_VERSION,$INT_VERSION, [Licq version number as int]) 17 17 AC_DEFINE_UNQUOTED(USE_FIFO, 1, [Undefine if it causes problems]) 18 19 20 dnl Expand prefix and exec_prefix 21 test "x${prefix}" = "xNONE" && prefix="${ac_default_prefix}" 22 test "x${exec_prefix}" = "xNONE" && exec_prefix='${prefix}' 23 24 dnl (May) need to expand libdir and datadir more than once: 25 dnl $libdir => $exec_prefix/lib => $prefix/lib => /some/path/lib 26 install_libdir=$(eval "echo \"$(eval "echo \"${libdir}\"")\"") 27 AC_DEFINE_UNQUOTED(INSTALL_LIBDIR, "${install_libdir}/licq/", [Directory where plugins go]) 28 29 dnl $datadir => $datarootdir => $prefix/share => /some/path/share 30 install_datadir=$(eval "echo \"$(eval "echo \"${datadir}\"")\"") 31 AC_DEFINE_UNQUOTED(INSTALL_SHAREDIR, "${install_datadir}/licq/", [Directory where shared data go]) 32 18 33 19 34 AC_ARG_ENABLE( -
trunk/licq/include/licq_constants.h
r4328 r4484 5 5 // Directory constants 6 6 const char DEFAULT_HOME_DIR[] = ".licq"; 7 const char BASE_SHARE_DIR[] = "share/licq/";8 const char BASE_LIB_DIR[] = "lib/licq/";9 7 const char USER_DIR[] = "users"; 10 8 const char HISTORY_DIR[] = "history"; -
trunk/licq/src/licq.cpp
r4381 r4484 298 298 299 299 // Define the directory for all the shared data 300 sprintf(SHARE_DIR, "%s/%s", INSTALL_PREFIX, BASE_SHARE_DIR); 301 sprintf(LIB_DIR, "%s/%s", INSTALL_PREFIX, BASE_LIB_DIR); 300 strncpy(SHARE_DIR, INSTALL_SHAREDIR, MAX_FILENAME_LEN); 301 SHARE_DIR[MAX_FILENAME_LEN - 1] = '\0'; 302 303 strncpy(LIB_DIR, INSTALL_LIBDIR, MAX_FILENAME_LEN); 304 LIB_DIR[MAX_FILENAME_LEN - 1] = '\0'; 305 302 306 303 307 // Check pid -
trunk/licq/src/Makefile.am
r3884 r4484 1 AM_CPPFLAGS = -Wall -I$(top_srcdir)/include -DINSTALL_PREFIX=\"@prefix@\"@SOCKS_INCDIR@1 AM_CPPFLAGS = -Wall -I$(top_srcdir)/include @SOCKS_INCDIR@ 2 2 3 3 datadir = @datadir@ … … 19 19 icqd-chat.cpp sighandler.c icqd-filetransfer.cpp \ 20 20 hebrev.c icqcolor.cpp fifo.cpp protoplugind.cpp gpg.cpp \ 21 occupationcodes.c homepagecodes.c interestcodes.c \22 organizationcodes.c backgroundcodes.c providers.c rtf.cc21 occupationcodes.c homepagecodes.c interestcodes.c \ 22 organizationcodes.c backgroundcodes.c providers.c rtf.cc 23 23 24 24 licq_LDADD = @SOCKS_LIBS@
