Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/main.c @ 1448:844410b9b4cc
Remove configure option --enable-fifo
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 27 Mar 2008 23:27:19 +0100 |
parents | 00503a68f431 |
children | 6b98dc22946d |
comparison
equal
deleted
inserted
replaced
1447:ba706e97d6ec | 1448:844410b9b4cc |
---|---|
40 #include "histolog.h" | 40 #include "histolog.h" |
41 #include "hooks.h" | 41 #include "hooks.h" |
42 #include "utils.h" | 42 #include "utils.h" |
43 #include "pgp.h" | 43 #include "pgp.h" |
44 #include "otr.h" | 44 #include "otr.h" |
45 | 45 #include "fifo.h" |
46 #ifdef ENABLE_FIFO | |
47 # include "fifo.h" | |
48 #endif | |
49 | 46 |
50 #ifdef ENABLE_HGCSET | 47 #ifdef ENABLE_HGCSET |
51 # include "hgcset.h" | 48 # include "hgcset.h" |
52 #endif | 49 #endif |
53 | 50 |
293 puts("Compiled with OTR support."); | 290 puts("Compiled with OTR support."); |
294 #endif | 291 #endif |
295 #ifdef WITH_ASPELL | 292 #ifdef WITH_ASPELL |
296 puts("Compiled with Aspell support."); | 293 puts("Compiled with Aspell support."); |
297 #endif | 294 #endif |
298 #ifdef ENABLE_FIFO | |
299 puts("Compiled with FIFO support."); | |
300 #endif | |
301 #ifdef ENABLE_DEBUG | 295 #ifdef ENABLE_DEBUG |
302 puts("Compiled with debugging support."); | 296 puts("Compiled with debugging support."); |
303 #endif | 297 #endif |
304 } | 298 } |
305 | 299 |
492 scr_RosterDisplay("*"); | 486 scr_RosterDisplay("*"); |
493 } | 487 } |
494 | 488 |
495 chatstates_disabled = settings_opt_get_int("disable_chatstates"); | 489 chatstates_disabled = settings_opt_get_int("disable_chatstates"); |
496 | 490 |
497 #ifdef ENABLE_FIFO | |
498 /* Initialize FIFO named pipe */ | 491 /* Initialize FIFO named pipe */ |
499 fifo_init(settings_opt_get("fifo_name")); | 492 fifo_init(settings_opt_get("fifo_name")); |
500 #endif | |
501 | 493 |
502 /* Load previous roster state */ | 494 /* Load previous roster state */ |
503 hlog_load_state(); | 495 hlog_load_state(); |
504 | 496 |
505 if (ret < 0) { | 497 if (ret < 0) { |
528 hk_mainloop(); | 520 hk_mainloop(); |
529 } | 521 } |
530 } | 522 } |
531 | 523 |
532 scr_TerminateCurses(); | 524 scr_TerminateCurses(); |
533 #ifdef ENABLE_FIFO | |
534 fifo_deinit(); | 525 fifo_deinit(); |
535 #endif | |
536 #ifdef HAVE_LIBOTR | 526 #ifdef HAVE_LIBOTR |
537 otr_terminate(); | 527 otr_terminate(); |
538 #endif | 528 #endif |
539 jb_disconnect(); | 529 jb_disconnect(); |
540 #ifdef HAVE_GPGME | 530 #ifdef HAVE_GPGME |