Changeset 00f434f
- Timestamp:
- 2005-12-18T14:28:52Z (19 years ago)
- Branches:
- master
- Children:
- 1fa6a23, 7308b63
- Parents:
- 578d627 (diff), 32c632f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
conf.c
r578d627 r00f434f 55 55 conf->password = NULL; 56 56 conf->configdir = g_strdup( CONFIG ); 57 conf->plugindir = g_strdup( PLUGINDIR ); 57 58 conf->motdfile = g_strdup( ETCDIR "/motd.txt" ); 58 59 conf->ping_interval = 180; -
conf.h
r578d627 r00f434f 41 41 char *hostname; 42 42 char *configdir; 43 char *plugindir; 43 44 char *motdfile; 44 45 char *primary_storage; -
configure
r578d627 r00f434f 145 145 fi 146 146 147 if type pkg-config > /dev/null 2>/dev/null && pkg-config glib-2.0; then 147 if [ -z "$PKG_CONFIG" ]; then 148 PKG_CONFIG=pkg-config 149 fi 150 151 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then 148 152 cat<<EOF>>Makefile.settings 149 EFLAGS+=` pkg-config--libs glib-2.0 gmodule-2.0`150 CFLAGS+=` pkg-config--cflags glib-2.0 gmodule-2.0`153 EFLAGS+=`$PKG_CONFIG --libs glib-2.0 gmodule-2.0` 154 CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0` 151 155 EOF 152 156 echo '#define GLIB2' >> config.h … … 190 194 detect_nss() 191 195 { 192 if type pkg-config > /dev/null 2>/dev/null && pkg-configmozilla-nss; then196 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG mozilla-nss; then 193 197 cat<<EOF>>Makefile.settings 194 EFLAGS+=` pkg-config--libs mozilla-nss`195 CFLAGS+=` pkg-config--cflags mozilla-nss`198 EFLAGS+=`$PKG_CONFIG --libs mozilla-nss` 199 CFLAGS+=`$PKG_CONFIG --cflags mozilla-nss` 196 200 EOF 197 201 -
protocols/nogaim.c
r578d627 r00f434f 82 82 GError *error = NULL; 83 83 84 dir = g_dir_open( PLUGINDIR, 0, &error);84 dir = g_dir_open(global.conf->plugindir, 0, &error); 85 85 86 86 if (dir) { … … 89 89 90 90 while ((entry = g_dir_read_name(dir))) { 91 path = g_build_filename( PLUGINDIR, entry, NULL);91 path = g_build_filename(global.conf->plugindir, entry, NULL); 92 92 if(!path) { 93 93 log_message(LOGLVL_WARNING, "Can't build path for %s\n", entry);
Note: See TracChangeset
for help on using the changeset viewer.