Codebase list cairo-dock-plug-ins / debian/2.1.3.10-3 configure.ac
debian/2.1.3.10-3

Tree @debian/2.1.3.10-3 (Download .tar.gz)

configure.ac @debian/2.1.3.10-3raw · history · blame

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
AC_INIT([cairo-dock-plugins],[2.1.3-10-lucid],[Fabrice Rey (fabounet@users.berlios.de)])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADER([config.h])

AM_INIT_AUTOMAKE([foreign])
AC_DISABLE_STATIC
AC_PROG_LIBTOOL

IT_PROG_INTLTOOL()
AC_SUBST(ALL_LINGUAS)
AM_GLIB_GNU_GETTEXT


############# PACKAGE CAIRO-DOCK #################
GETTEXT_PACKAGE=cairo-dock-plugins
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"GETTEXT_PACKAGE", [Gettext package.])
AC_SUBST(GETTEXT_PACKAGE)

pkgdatadir=[`pkg-config cairo-dock --variable=pluginsdatadir`]
AC_SUBST(pkgdatadir)
libdir=[`pkg-config cairo-dock --variable=pluginsdir`]
AC_SUBST(libdir)

srcdir="."
AC_SUBST(srcdir)
top_srcdir=".."
AC_SUBST(top_srcdir)
top_builddir=".."
AC_SUBST(top_builddir)

PKG_CHECK_MODULES(PACKAGE, "gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 cairo-dock")


############# COMPILATION CONDITIONNELLE #################
AC_ARG_ENABLE([old-gnome-integration],
	[  --enable-old-gnome-integration : Enable Gnome<2.22 integration (default=no) ],
	[ with_old_gnome_support=${enableval} ],
	[ with_old_gnome_support=yes ])
AC_ARG_ENABLE(gnome-integration,
	[  --enable-gnome-integration : Enable Gnome>=2.22 integration (default=yes) ],
	[ with_gnome_support=${enableval} ],
	[ with_gnome_support=yes ])
AC_ARG_ENABLE(xfce-integration,
	[  --enable-xfce-integration : Enable XFCE integration (default=yes) ],
	[ with_xfce_support=${enableval} ],
	[ with_xfce_support=yes ])
AC_ARG_ENABLE(kde-integration,
	[  --enable-kde-integration : Enable KDE integration (default=yes) ],
	[ with_kde_support=${enableval} ],
	[ with_kde_support=yes ])
AC_ARG_ENABLE(alsa-mixer,
	[  --enable-alsa-mixer : Enable Alsa-Mixer applet (default=yes) ],
	[ with_alsa_mixer=${enableval} ],
	[ with_alsa_mixer=yes ])
AC_ARG_ENABLE(terminal,
	[  --enable-terminal : Enable Terminal applet (default=yes) ],
	[ with_terminal=${enableval} ],
	[ with_terminal=yes ])
AC_ARG_ENABLE(powermanager,
	[  --enable-powermanager : Enable PowerManager applet (default=yes) ],
	[ with_powermanager=${enableval} ],
	[ with_powermanager=yes ])
AC_ARG_ENABLE(wifi,
	[  --enable-wifi : Enable Wifi applet (default=yes) ],
	[ with_wifi=${enableval} ],
	[ with_wifi=yes ])
AC_ARG_ENABLE(tomboy,
	[  --enable-tomboy : Enable Tomboy applet (default=yes) ],
	[ with_tomboy=${enableval} ],
	[ with_tomboy=yes ])
AC_ARG_ENABLE(compiz-icon,
	[  --enable-compiz-icon : Enable Compiz-Icon applet (default=yes) ],
	[ with_compiz_icon=${enableval} ],
	[ with_compiz_icon=yes ])
AC_ARG_ENABLE(xgamma,
	[  --enable-xgamma : Enable Xgamma applet (default=yes) ],
	[ with_xgamma=${enableval} ],
	[ with_xgamma=yes ])
AC_ARG_ENABLE(gmenu,
	[  --enable-gmenu : Enable GMenu applet (default=yes) ],
	[ with_gmenu=${enableval} ],
	[ with_gmenu=yes ])
AC_ARG_ENABLE(gio-in-gmenu,
	[  --enable-gio-in-gmenu : Use gio in GMenu (default=no) ],
	[ with_gio_in_gmenu=${enableval} ],
	[ with_gio_in_gmenu=no])
AC_ARG_ENABLE(mail,
	[  --enable-mail : Enable Mail applet (default=yes) ],
	[ with_mail=${enableval} ],
	[ with_mail=yes ])
AC_ARG_ENABLE(weblets,
	[  --enable-weblets : Enable Weblets applet (default=yes) ],
	[ with_weblets=${enableval} ],
	[ with_weblets=yes ])
AC_ARG_ENABLE(exif,
	[  --enable-exif : for auto-rotating pictures in Slider (default=yes) ],
	[ with_exif=${enableval} ],
	[ with_exif=yes ])
AC_ARG_ENABLE(keyboard-indicator,
	[  --enable-keyboard-indicator : Enable keyboard-indicator applet (default=yes) ],
	[ with_keyboard_indicator=${enableval} ],
	[ with_keyboard_indicator=yes ])
AC_ARG_ENABLE(dnd2share,
	[  --enable-dnd2share : Enable dnd2share applet (default=yes) ],
	[ with_dnd2share=${enableval} ],
	[ with_dnd2share=yes ])
AC_ARG_ENABLE(musicplayer,
	[  --enable-musicplayer : Enable musicplayer applet (default=yes) ],
	[ with_musicplayer=${enableval} ],
	[ with_musicplayer=yes ])
AC_ARG_ENABLE(rssreader,
	[  --enable-rssreader : Enable rssreader applet (default=yes) ],
	[ with_rssreader=${enableval} ],
	[ with_rssreader=yes ])
AC_ARG_ENABLE(xrandr-in-show-desktop,
        [  --enable-xrandr-in-show-desktop : Add screen resolution abilities to Show-Desktop (default=yes) ],
        [ with_xrandr_in_show_desktop=${enableval} ],
        [ with_xrandr_in_show_desktop=yes])
AC_ARG_ENABLE(network-monitor,
	[  --enable-network-monitor : Enable Network-Monitor applet (default=no) ],
	[ with_network_monitor=${enableval} ],
	[ with_network_monitor=no ])
AC_ARG_ENABLE(scooby-do,
	[  --enable-scooby-do : Enable Scooby-Do applet (default=no) ],
	[ with_scooby_do=${enableval} ],
	[ with_scooby_do=no ])


############# PACKAGES ADDITIONNELS #################
if test "$with_old_gnome_support" = "yes" ; then
	PKG_CHECK_MODULES(OLD_GNOME_INTEGRATION,gnome-vfs-2.0 libgnomeui-2.0, ,[ with_old_gnome_support=false; AC_MSG_WARN(Could not find gnome-vfs and/or gnomeui; Cairo-Dock won\'t be built with Gnome<2.22 support.) ])
	AC_SUBST(OLD_GNOME_INTEGRATION_CFLAGS)
	AC_SUBST(OLD_GNOME_INTEGRATION_LIBS)
fi
if test "$with_gnome_support" = "yes" ; then
	PKG_CHECK_MODULES(GNOME_INTEGRATION,gio-2.0, ,[ with_gnome_support=false; AC_MSG_WARN(Could not find gio; Cairo-Dock won\'t be built with Gnome>=2.22 support.) ])
	AC_SUBST(GNOME_INTEGRATION_CFLAGS)
	AC_SUBST(GNOME_INTEGRATION_LIBS)
fi
if test "$with_xfce_support" = "yes" ; then
	PKG_CHECK_MODULES(XFCE_INTEGRATION,thunar-vfs-1, ,[ with_xfce_support=false; AC_MSG_WARN(Could not find thunar-vfs; Cairo-Dock won\'t be built with XFCE support.) ])
	AC_SUBST(XFCE_INTEGRATION_CFLAGS)
	AC_SUBST(XFCE_INTEGRATION_LIBS)
fi
if test "$with_kde_support" = "yes" ; then
	PKG_CHECK_MODULES(KDE_INTEGRATION,gio-2.0, ,[ with_kde_support=false; AC_MSG_WARN(Could not find kde libs; Cairo-Dock won\'t be built with KDE support.) ])
	AC_SUBST(KDE_INTEGRATION_CFLAGS)
	AC_SUBST(KDE_INTEGRATION_LIBS)
fi
if test "$with_alsa_mixer" = "yes" ; then
	PKG_CHECK_MODULES(ALSA_MIXER_PACKAGE,alsa, ,[ with_alsa_mixer=false; AC_MSG_WARN(Could not find alsa; Cairo-Dock won\'t be built with AlsaMixer applet.) ])
	AC_SUBST(ALSA_MIXER_PACKAGE_CFLAGS)
	AC_SUBST(ALSA_MIXER_PACKAGE_LIBS)
fi
if test "$with_terminal" = "yes" ; then
	PKG_CHECK_MODULES(TERMINAL_PACKAGE,vte, ,[ with_terminal=false; AC_MSG_WARN(Could not find vte; Cairo-Dock won\'t be built with Terminal applet.) ])
	AC_SUBST(TERMINAL_PACKAGE_CFLAGS)
	AC_SUBST(TERMINAL_PACKAGE_LIBS)
fi
if test "$with_xgamma" = "yes" ; then
	PKG_CHECK_MODULES(XGAMMA_PACKAGE,x11 xxf86vm, ,[ with_xgamma=false; AC_MSG_WARN(Could not find xxf86vm; Cairo-Dock won\'t be built with Xgamma applet.) ])
	AC_SUBST(XGAMMA_PACKAGE_CFLAGS)
	AC_SUBST(XGAMMA_PACKAGE_LIBS)
fi
if test "$with_gmenu" = "yes" ; then
	PKG_CHECK_MODULES(GMENU_PACKAGE,libgnome-menu, ,[ with_gmenu=false; AC_MSG_WARN(Could not find libgnome-menu; Cairo-Dock won\'t be built with GMenu applet.) ])
	AC_SUBST(GMENU_PACKAGE_CFLAGS)
	AC_SUBST(GMENU_PACKAGE_LIBS)
fi
if test "$with_gio_in_gmenu" = "yes" ; then
	PKG_CHECK_MODULES(GMENU_GIO, gio-2.0, ,[ with_gio_in_gmenu=false; AC_MSG_WARN(Could not find gio-2.0; the GMenu applet won\'t be built with. Depending on libgnome-menu, it may not be a problem.) ])
	AC_SUBST(GMENU_GIO_CFLAGS)
	AC_SUBST(GMENU_GIO_LIBS)
fi
if test "$with_mail" = "yes" ; then
	MAIL_PACKAGE_CFLAGS=`libetpan-config --cflags`
	MAIL_PACKAGE_LIBS=`libetpan-config --libs`
	if test "x$MAIL_PACKAGE_LIBS" = "x"; then
		echo "warning : Could not find libetpan; Cairo-Dock won't be built with Mail applet."
		with_mail=false
	fi
	AC_SUBST(MAIL_PACKAGE_CFLAGS)
	AC_SUBST(MAIL_PACKAGE_LIBS)
fi
if test "$with_weblets" = "yes" ; then
	PKG_CHECK_MODULES(WEBKIT,webkit-1.0, ,[ with_weblets=false; AC_MSG_WARN(Could not find webkit-1.0; Cairo-Dock won\'t be built with Weblets applet.) ])
	AC_SUBST(WEBKIT_CFLAGS)
	AC_SUBST(WEBKIT_LIBS)
fi
if test "$with_exif" = "yes" ; then
	PKG_CHECK_MODULES(EXIF,libexif, ,[ with_exif=false; AC_MSG_WARN(Could not find libexif; Slider won\'t be built with exif capbilities.) ])
	AC_SUBST(EXIF_CFLAGS)
	AC_SUBST(EXIF_LIBS)
fi
if test "$with_keyboard_indicator" = "yes" ; then
	PKG_CHECK_MODULES(KEYBOARD_INDICATOR_PACKAGE,libxklavier, ,[ with_keyboard_indicator=false; AC_MSG_WARN(Could not find libxklavier; Cairo-Dock won\'t be built with keyboard-indicator applet.) ])
	AC_SUBST(KEYBOARD_INDICATOR_PACKAGE_CFLAGS)
	AC_SUBST(KEYBOARD_INDICATOR_PACKAGE_LIBS)
fi
if test "$with_xrandr_in_show_desktop" = "yes" ; then
	PKG_CHECK_MODULES(SHOW_DESKTOP_XRANDR, xrandr, ,[ with_xrandr_in_show_desktop=false; AC_MSG_WARN(Could not find xrandr; ShowDesktop won't be built with screen resolution abilities.) ])
	AC_SUBST(SHOW_DESKTOP_XRANDR_CFLAGS)
	AC_SUBST(SHOW_DESKTOP_XRANDR_LIBS)
fi

AC_PROG_CXX

AM_CONDITIONAL( [WITH_OLD_GNOME_SUPPORT], [test "$with_old_gnome_support" = "yes"] )
AM_CONDITIONAL( [WITH_GNOME_SUPPORT], [test "$with_gnome_support" = "yes"] )
AM_CONDITIONAL( [WITH_XFCE_SUPPORT], [test "$with_xfce_support" = "yes"] )
AM_CONDITIONAL( [WITH_KDE_SUPPORT], [test "$with_kde_support" = "yes"] )
AM_CONDITIONAL( [WITH_ALSA_MIXER], [test "$with_alsa_mixer" = "yes"] )
AM_CONDITIONAL( [WITH_TERMINAL], [test "$with_terminal" = "yes"] )
AM_CONDITIONAL( [WITH_POWERMANAGER], [test "$with_powermanager" = "yes"] )
AM_CONDITIONAL( [WITH_WIFI], [test "$with_wifi" = "yes"] )
AM_CONDITIONAL( [WITH_TOMBOY], [test "$with_tomboy" = "yes"] )
AM_CONDITIONAL( [WITH_COMPIZ_ICON], [test "$with_compiz_icon" = "yes"] )
AM_CONDITIONAL( [WITH_XGAMMA], [test "$with_xgamma" = "yes"] )
AM_CONDITIONAL( [WITH_GMENU], [test "$with_gmenu" = "yes"] )
AM_CONDITIONAL( [WITH_GIO_IN_GMENU], [test "$with_gio_in_gmenu" = "yes"] )
AM_CONDITIONAL( [WITH_MAIL], [test "$with_mail" = "yes"] )
AM_CONDITIONAL( [WITH_WEBLETS], [test "$with_weblets" = "yes"] )
AM_CONDITIONAL( [WITH_EXIF], [test "$with_exif" = "yes"] )
AM_CONDITIONAL( [WITH_KEYBOARD_INDICATOR], [test "$with_keyboard_indicator" = "yes"] )
AM_CONDITIONAL( [WITH_DND2SHARE], [test "$with_dnd2share" = "yes"] )
AM_CONDITIONAL( [WITH_MUSICPLAYER], [test "$with_musicplayer" = "yes"] )
AM_CONDITIONAL( [WITH_NETWORK_MONITOR], [test "$with_network_monitor" = "yes"] )
AM_CONDITIONAL( [WITH_SCOOBY_DO], [test "$with_scooby_do" = "yes"] )
AM_CONDITIONAL( [WITH_RSSREADER], [test "$with_rssreader" = "yes"] )
AM_CONDITIONAL( [WITH_XRANDR_IN_SHOW_DESKTOP], [test "$with_xrandr_in_show_desktop" = "yes"] )


############# ALSA_MIXER #################
ALSA_MIXER_PACKAGE="cd-AlsaMixer"
AC_SUBST(GETTEXT_ALSA_MIXER, "cairo-dock-plugins")

AC_SUBST(VERSION_ALSA_MIXER, "1.0.11")
AC_SUBST(PACKAGE_ALSA_MIXER, "$ALSA_MIXER_PACKAGE")

AC_SUBST(alsa_mixerdatadir, "${pkgdatadir}/AlsaMixer")

############# ANIMATED ICONS #################
ANIMATED_ICONS_PACKAGE=cd-Animated-icons
AC_SUBST(GETTEXT_ANIMATED_ICONS, "cairo-dock-plugins")

AC_SUBST(VERSION_ANIMATED_ICONS, "1.0.7")
AC_SUBST(PACKAGE_ANIMATED_ICONS, "$ANIMATED_ICONS_PACKAGE")

AC_SUBST(animated_iconsdatadir, "${pkgdatadir}/Animated-icons")

############# CLIPPER #################
CLIPPER_PACKAGE="cd-Clipper"
AC_SUBST(GETTEXT_CLIPPER, "cairo-dock-plugins")

AC_SUBST(VERSION_CLIPPER, "1.1.2")
AC_SUBST(PACKAGE_CLIPPER, "$CLIPPER_PACKAGE")

AC_SUBST(Clipperdatadir, "${pkgdatadir}/Clipper")

############# CAIRO_PENGUIN #################
CAIRO_PENGUIN_PACKAGE="cd-Cairo-Penguin"
AC_SUBST(GETTEXT_CAIRO_PENGUIN, "cairo-dock-plugins")

AC_SUBST(VERSION_CAIRO_PENGUIN, "1.1.7")
AC_SUBST(PACKAGE_CAIRO_PENGUIN, "$CAIRO_PENGUIN_PACKAGE")
cairo_penguinuserdirname="Cairo-Penguin"
AC_SUBST(cairo_penguinuserdirname)

AC_SUBST(cairo_penguindatadir, "${pkgdatadir}/Cairo-Penguin")

############# CLOCK #################
CLOCK_PACKAGE="cd-clock"
AC_SUBST(GETTEXT_CLOCK, "cairo-dock-plugins")

AC_SUBST(VERSION_CLOCK, "2.0.8")
AC_SUBST(PACKAGE_CLOCK, "$CLOCK_PACKAGE")
clockuserdirname="clock"
AC_SUBST(clockuserdirname, "clock")

AC_SUBST(clockdatadir, "${pkgdatadir}/clock")

############# COMPIZ_ICON #################
COMPIZ_ICON_PACKAGE="cd-compiz-icon"
AC_SUBST(GETTEXT_COMPIZ_ICON, "cairo-dock-plugins")

AC_SUBST(VERSION_COMPIZ_ICON, "1.1.5")
AC_SUBST(PACKAGE_COMPIZ_ICON, "$COMPIZ_ICON_PACKAGE")

AC_SUBST(compiz_icondatadir, "${pkgdatadir}/compiz-icon")

############# DBUS #################
DBUS_PACKAGE="cd-Dbus"
AC_SUBST(GETTEXT_DBUS, "cairo-dock-plugins")

AC_SUBST(VERSION_DBUS, "1.0.0")
AC_SUBST(PACKAGE_DBUS, "$DBUS_PACKAGE")

AC_SUBST(dbusdatadir, "${pkgdatadir}/Dbus")

############# DND2SHARE #################
DND2SHARE_PACKAGE="cd-dnd2share"
AC_SUBST(GETTEXT_DND2SHARE, "cairo-dock-plugins")

AC_SUBST(VERSION_DND2SHARE, "1.0.2")
AC_SUBST(PACKAGE_DND2SHARE, "$DND2SHARE_PACKAGE")

AC_SUBST(dnd2sharedatadir, "${pkgdatadir}/dnd2share")

############# DROP INDICATOR #################
DROP_INDICATOR_PACKAGE=cd-drop_indicator
AC_SUBST(GETTEXT_DROP_INDICATOR, "cairo-dock-plugins")

AC_SUBST(VERSION_DROP_INDICATOR, "1.1.3")
AC_SUBST(PACKAGE_DROP_INDICATOR, "$DROP_INDICATOR_PACKAGE")

AC_SUBST(drop_indicatordatadir, "${pkgdatadir}/drop-indicator")

############# DUSTBIN #################
DUSTBIN_PACKAGE=cd-dustbin
AC_SUBST(GETTEXT_DUSTBIN, "cairo-dock-plugins")

AC_SUBST(VERSION_DUSTBIN, "2.2.6")
AC_SUBST(PACKAGE_DUSTBIN, "$DUSTBIN_PACKAGE")
dustbinuserdirname="dustbin"
AC_SUBST(dustbinuserdirname)


AC_SUBST(dustbindatadir, "${pkgdatadir}/dustbin")

############# GMENU #################
GMENU_PACKAGE=cd-GMenu
AC_SUBST(GETTEXT_GMENU, "cairo-dock-plugins")

AC_SUBST(VERSION_GMENU, "1.1.5")
AC_SUBST(PACKAGE_GMENU, "$GMENU_PACKAGE")

AC_SUBST(gmenudatadir, "${pkgdatadir}/GMenu")

############# GNOME-INTEGRATION #################
GNOME_INTEGRATION_PACKAGE=cd_gnome-integration

AC_SUBST(VERSION_GNOME_INTEGRATION, "1.0.2")
AC_SUBST(PACKAGE_GNOME_INTEGRATION, "$GNOME_INTEGRATION_PACKAGE")

AC_SUBST(gnome_integrationdatadir, "${pkgdatadir}/gnome-integration")

############# GNOME-INTEGRATION-OLD #################
GNOME_INTEGRATION_OLD_PACKAGE=cd_gnome-integration-old

AC_SUBST(VERSION_GNOME_INTEGRATION_OLD, "1.0.3")
AC_SUBST(PACKAGE_GNOME_INTEGRATION_OLD, "$GNOME_INTEGRATION_OLD_PACKAGE")

AC_SUBST(gnome_integration_olddatadir, "${pkgdatadir}/gnome-integration-old")

############# ICON EFFECT #################
ICON_EFFECTS_PACKAGE=cd-icon-effect
AC_SUBST(GETTEXT_ICON_EFFECTS, "cairo-dock-plugins")

AC_SUBST(VERSION_ICON_EFFECTS, "1.2.3")
AC_SUBST(PACKAGE_ICON_EFFECTS, "$ICON_EFFECTS_PACKAGE")

AC_SUBST(icon_effectsdatadir, "${pkgdatadir}/icon-effect")

############# ILLUSION #################
ILLUSION_PACKAGE=cd-illusion
AC_SUBST(GETTEXT_ILLUSION, "cairo-dock-plugins")

AC_SUBST(VERSION_ILLUSION, "1.0.5")
AC_SUBST(PACKAGE_ILLUSION, "$ILLUSION_PACKAGE")

AC_SUBST(illusiondatadir, "${pkgdatadir}/illusion")

############# KEYBOARD_INDICATOR #################
KEYBOARD_INDICATOR_PACKAGE="cd-keyboard-indicator"
AC_SUBST(GETTEXT_KEYBOARD_INDICATOR, "cairo-dock-plugins")

AC_SUBST(VERSION_KEYBOARD_INDICATOR, "1.1.2")
AC_SUBST(PACKAGE_KEYBOARD_INDICATOR, "$KEYBOARD_INDICATOR_PACKAGE")

AC_SUBST(keyboard_indicatordatadir, "${pkgdatadir}/keyboard-indicator")

############# LOGOUT #################
LOGOUT_PACKAGE=cd-logout
AC_SUBST(GETTEXT_LOGOUT, "cairo-dock-plugins")

AC_SUBST(VERSION_LOGOUT, "1.2.9")
AC_SUBST(PACKAGE_LOGOUT, "$LOGOUT_PACKAGE")

AC_SUBST(logoutdatadir, "${pkgdatadir}/logout")

############# MAIL #################
MAIL_PACKAGE=cd-mail
AC_SUBST(GETTEXT_MAIL, "cairo-dock-plugins")

AC_SUBST(VERSION_MAIL, "1.0.3")
AC_SUBST(PACKAGE_MAIL, "$MAIL_PACKAGE")

AC_SUBST(maildatadir, "${pkgdatadir}/mail")

############# MOTION BLUR #################
MOTION_BLUR_PACKAGE=cd-motion_blur
AC_SUBST(GETTEXT_MOTION_BLUR, "cairo-dock-plugins")

AC_SUBST(VERSION_MOTION_BLUR, "1.0.3")
AC_SUBST(PACKAGE_MOTION_BLUR, "$MOTION_BLUR_PACKAGE")

AC_SUBST(motion_blurdatadir, "${pkgdatadir}/motion-blur")

############# MUSICPLAYER #################
MUSICPLAYER_PACKAGE=cd-musicplayer
AC_SUBST(GETTEXT_MUSICPLAYER, "cairo-dock-plugins")

AC_SUBST(VERSION_MUSICPLAYER, "1.0.3")
AC_SUBST(PACKAGE_MUSICPLAYER, "$MUSICPLAYER_PACKAGE")

AC_SUBST(musicplayerdatadir, "${pkgdatadir}/musicPlayer")

############# NETSPEED #################
NETSPEED_PACKAGE=cd-netspeed
AC_SUBST(GETTEXT_NETSPEED, "cairo-dock-plugins")

AC_SUBST(VERSION_NETSPEED, "1.2.3")
AC_SUBST(PACKAGE_NETSPEED, "$NETSPEED_PACKAGE")

AC_SUBST(netspeeddatadir, "${pkgdatadir}/netspeed")

############# NETWORK_MONITOR #################
NETWORK_MONITOR_PACKAGE=cd-network-monitor
AC_SUBST(GETTEXT_NETWORK_MONITOR, "cairo-dock-plugins")

AC_SUBST(VERSION_NETWORK_MONITOR, "0.2.1")
AC_SUBST(PACKAGE_NETWORK_MONITOR, "$NETWORK_MONITOR_PACKAGE")

AC_SUBST(network_monitordatadir, "${pkgdatadir}/Network-Monitor")

############# POWERMANAGER #################
POWERMANAGER_PACKAGE=cd-powermanager
AC_SUBST(GETTEXT_POWERMANAGER, "cairo-dock-plugins")

AC_SUBST(VERSION_POWERMANAGER, "1.3.2")
AC_SUBST(PACKAGE_POWERMANAGER, "$POWERMANAGER_PACKAGE")

AC_SUBST(powermanagerdatadir, "${pkgdatadir}/powermanager")

############# RENDERING #################
RENDERING_PACKAGE=cd-rendering
AC_SUBST(GETTEXT_RENDERING, "cairo-dock-plugins")

AC_SUBST(VERSION_RENDERING, "1.5.7")
AC_SUBST(PACKAGE_RENDERING, "$RENDERING_PACKAGE")

AC_SUBST(renderingdatadir, "${pkgdatadir}/rendering")

############# DESKLET_RENDERING #################
DESKLET_RENDERING_PACKAGE=cd-desklet-rendering
AC_SUBST(GETTEXT_DESKLET_RENDERING, "cairo-dock-plugins")

AC_SUBST(VERSION_DESKLET_RENDERING, "1.5.5")
AC_SUBST(PACKAGE_DESKLET_RENDERING, "$DESKLET_RENDERING_PACKAGE")

AC_SUBST(desklet_renderingdatadir, "${pkgdatadir}/desklet-rendering")

############# DIALOG_RENDERING #################
DIALOG_RENDERING_PACKAGE=cd-dialog-rendering
AC_SUBST(GETTEXT_DIALOG_RENDERING, "cairo-dock-plugins")

AC_SUBST(VERSION_DIALOG_RENDERING, "0.4.4")
AC_SUBST(PACKAGE_DIALOG_RENDERING, "$DIALOG_RENDERING_PACKAGE")

AC_SUBST(dialog_renderingdatadir, "${pkgdatadir}/dialog-rendering")

############# QUICK BROWSER #################
QUICK_BROWSER_PACKAGE=cd-quick-browser
AC_SUBST(GETTEXT_QUICK_BROWSER, "cairo-dock-plugins")

AC_SUBST(VERSION_QUICK_BROWSER, "1.0.7")
AC_SUBST(PACKAGE_QUICK_BROWSER, "$QUICK_BROWSER_PACKAGE")

AC_SUBST(quick_browserdatadir, "${pkgdatadir}/quick_browser")

############# RSSREADER #################
RSS_READER_PACKAGE=cd-rssreader
AC_SUBST(GETTEXT_RSS_READER, "cairo-dock-plugins")

AC_SUBST(VERSION_RSS_READER, "1.0.1")
AC_SUBST(PACKAGE_RSS_READER, "$RSS_READER_PACKAGE")

AC_SUBST(rss_readerdatadir, "${pkgdatadir}/RSSreader")

############# SCOOBY_DO #################
SCOOBY_DO_PACKAGE=cd-scooby-do
AC_SUBST(GETTEXT_SCOOBY_DO, "cairo-dock-plugins")

AC_SUBST(VERSION_SCOOBY_DO, "0.1.0")
AC_SUBST(PACKAGE_SCOOBY_DO, "$SCOOBY_DO_PACKAGE")

AC_SUBST(scooby_dodatadir, "${pkgdatadir}/Scooby-Do")

############# SHORTCUTS #################
SHORTCUTS_PACKAGE=cd-shortcuts
AC_SUBST(GETTEXT_SHORTCUTS, "cairo-dock-plugins")

AC_SUBST(VERSION_SHORTCUTS, "1.2.4")
AC_SUBST(PACKAGE_SHORTCUTS, "$SHORTCUTS_PACKAGE")

AC_SUBST(shortcutsdatadir, "${pkgdatadir}/shortcuts")

############# SHOW DESKTOP #################
SHOW_DESKTOP_PACKAGE=cd-showDesktop
AC_SUBST(GETTEXT_SHOW_DESKTOP, "cairo-dock-plugins")

AC_SUBST(VERSION_SHOW_DESKTOP, "1.2.2")
AC_SUBST(PACKAGE_SHOW_DESKTOP, "$SHOW_DESKTOP_PACKAGE")

AC_SUBST(show_desktopdatadir, "${pkgdatadir}/showDesktop")

############# SHOW MOUSE #################
SHOW_MOUSE_PACKAGE=cd-show_mouse
AC_SUBST(GETTEXT_SHOW_MOUSE, "cairo-dock-plugins")

AC_SUBST(VERSION_SHOW_MOUSE, "1.0.3")
AC_SUBST(PACKAGE_SHOW_MOUSE, "$SHOW_MOUSE_PACKAGE")

AC_SUBST(show_mousedatadir, "${pkgdatadir}/show_mouse")

############# SLIDER #################
SLIDER_PACKAGE="cd-slider"
AC_SUBST(GETTEXT_SLIDER, "cairo-dock-plugins")

AC_SUBST(VERSION_SLIDER, "2.0.5")
AC_SUBST(PACKAGE_SLIDER, "$SLIDER_PACKAGE")

AC_SUBST(sliderdatadir, "${pkgdatadir}/slider")

############# STACK #################
STACK_PACKAGE="cd-stack"
AC_SUBST(GETTEXT_STACK, "cairo-dock-plugins")

AC_SUBST(VERSION_STACK, "0.2.7")
AC_SUBST(PACKAGE_STACK, "$STACK_PACKAGE")

AC_SUBST(stackdatadir, "${pkgdatadir}/stack")

############# SWITCHER #################
SWITCHER_PACKAGE="cd-switcher"
AC_SUBST(GETTEXT_SWITCHER, "cairo-dock-plugins")

AC_SUBST(VERSION_SWITCHER, "2.1.3")
AC_SUBST(PACKAGE_SWITCHER, "$SWITCHER_PACKAGE")

AC_SUBST(switcherdatadir, "${pkgdatadir}/switcher")

############# SYSTEM MONITOR #################
SYSTEM_MONITOR_PACKAGE="cd-system-monitor"
AC_SUBST(GETTEXT_SYSTEM_MONITOR, "cairo-dock-plugins")

AC_SUBST(VERSION_SYSTEM_MONITOR, "1.0.2")
AC_SUBST(PACKAGE_SYSTEM_MONITOR, "$SYSTEM_MONITOR_PACKAGE")

AC_SUBST(system_monitordatadir, "${pkgdatadir}/System-monitor")

############# SYSTRAY #################
SYSTRAY_PACKAGE=cd-systray
AC_SUBST(GETTEXT_SYSTRAY, "cairo-dock-plugins")

AC_SUBST(VERSION_SYSTRAY, "0.1.11")
AC_SUBST(PACKAGE_SYSTRAY, "$SYSTRAY_PACKAGE")

AC_SUBST(systraydatadir, "${pkgdatadir}/systray")

############# TERMINAL #################
TERMINAL_PACKAGE="cd-terminal"
AC_SUBST(GETTEXT_TERMINAL, "cairo-dock-plugins")

AC_SUBST(VERSION_TERMINAL, "1.0.9")
AC_SUBST(PACKAGE_TERMINAL, "$TERMINAL_PACKAGE")

AC_SUBST(terminaldatadir, "${pkgdatadir}/terminal")

############# TOMBOY #################
TOMBOY_PACKAGE="cd-tomboy"
AC_SUBST(GETTEXT_TOMBOY, "cairo-dock-plugins")

AC_SUBST(VERSION_TOMBOY, "1.2.3")
AC_SUBST(PACKAGE_TOMBOY, "$TOMBOY_PACKAGE")

AC_SUBST(tomboydatadir, "${pkgdatadir}/tomboy")

############# TOONS #################
TOONS_PACKAGE="cd-Toons"
AC_SUBST(GETTEXT_TOONS, "cairo-dock-plugins")

AC_SUBST(VERSION_TOONS, "1.0.6")
AC_SUBST(PACKAGE_TOONS, "$TOONS_PACKAGE")

AC_SUBST(toonsdatadir, "${pkgdatadir}/Toons")
AC_SUBST(toonsuserdirname,"Toons")

############# WEATHER #################
WEATHER_PACKAGE="cd-weather"
AC_SUBST(GETTEXT_WEATHER, "cairo-dock-plugins")

AC_SUBST(VERSION_WEATHER, "1.2.9")
AC_SUBST(PACKAGE_WEATHER, "$WEATHER_PACKAGE")

AC_SUBST(weatherdatadir, "${pkgdatadir}/weather")
AC_SUBST(weatheruserdirname, "weather")

############# WIFI #################
WIFI_PACKAGE="cd-wifi"
AC_SUBST(GETTEXT_WIFI, "cairo-dock-plugins")

AC_SUBST(VERSION_WIFI, "1.2.3")
AC_SUBST(PACKAGE_WIFI, "$WIFI_PACKAGE")

AC_SUBST(wifidatadir, "${pkgdatadir}/wifi")

############# XFCE-INTEGRATION #################
XFCE_INTEGRATION_PACKAGE=cd_xfce-integration

AC_SUBST(VERSION_XFCE_INTEGRATION, "1.0.2")
AC_SUBST(PACKAGE_XFCE_INTEGRATION, "$XFCE_INTEGRATION_PACKAGE")

AC_SUBST(xfce_integrationdatadir, "${pkgdatadir}/xfce-integration")

############# KDE-INTEGRATION #################
KDE_INTEGRATION_PACKAGE=cd_kde-integration

AC_SUBST(VERSION_KDE_INTEGRATION, "0.0.1")
AC_SUBST(PACKAGE_KDE_INTEGRATION, "$KDE_INTEGRATION_PACKAGE")

AC_SUBST(kde_integrationdatadir, "${pkgdatadir}/kde-integration")

############# XGAMMA #################
XGAMMA_PACKAGE="cd-Xgamma"
AC_SUBST(GETTEXT_XGAMMA, "cairo-dock-plugins")

AC_SUBST(VERSION_XGAMMA, "1.1.5")
AC_SUBST(PACKAGE_XGAMMA, "$XGAMMA_PACKAGE")

AC_SUBST(xgammadatadir, "${pkgdatadir}/Xgamma")

############# WEBLETS #################
WEBLETS_PACKAGE="cd-weblets"

AC_DEFINE(HAVE_WEBKIT,1,[Defined if we want to use webkit.])

AC_SUBST(GETTEXT_WEBLETS, "cairo-dock-plugins")

AC_SUBST(VERSION_WEBLETS, "0.0.9")
AC_SUBST(PACKAGE_WEBLETS, "$WEBLETS_PACKAGE")

AC_SUBST(webletsdatadir, "${pkgdatadir}/weblets")


AC_CONFIG_FILES([
	Makefile
	po/Makefile.in
	
	alsaMixer/Makefile
	alsaMixer/src/Makefile
	alsaMixer/data/Makefile
	alsaMixer/data/AlsaMixer.conf
	
	Animated-icons/Makefile
	Animated-icons/src/Makefile
	Animated-icons/data/Makefile
	Animated-icons/data/Animated-icons.conf
	
	Cairo-Penguin/Makefile
	Cairo-Penguin/src/Makefile
	Cairo-Penguin/data/Makefile
	Cairo-Penguin/data/Cairo-Penguin.conf
	Cairo-Penguin/data/themes/Makefile
	Cairo-Penguin/data/themes/Classic/Makefile
	
	Clipper/Makefile
	Clipper/src/Makefile
	Clipper/data/Makefile
	Clipper/data/Clipper.conf
	
	clock/Makefile
	clock/src/Makefile
	clock/data/Makefile
	clock/data/clock.conf
	clock/data/digital/Makefile
	clock/data/digital/default/Makefile
	clock/data/themes/Makefile
	clock/data/themes/default/Makefile
	
	compiz-icon/Makefile
	compiz-icon/src/Makefile
	compiz-icon/data/Makefile
	compiz-icon/data/compiz-icon.conf
	
	Dbus/Makefile
	Dbus/src/Makefile
	Dbus/data/Makefile
	Dbus/data/Dbus.conf
	
	dnd2share/Makefile
	dnd2share/src/Makefile
	dnd2share/data/Makefile
	dnd2share/data/dnd2share.conf
	
	drop-indicator/Makefile
	drop-indicator/src/Makefile
	drop-indicator/data/Makefile
	drop-indicator/data/drop_indicator.conf
	
	dustbin/Makefile
	dustbin/src/Makefile
	dustbin/data/Makefile
	dustbin/data/dustbin.conf
	dustbin/data/themes/Makefile
	dustbin/data/themes/default/Makefile
	
	GMenu/Makefile
	GMenu/src/Makefile
	GMenu/data/Makefile
	GMenu/data/GMenu.conf
	
	gnome-integration/Makefile
	gnome-integration/src/Makefile
	gnome-integration/data/Makefile
	
	gnome-integration-old/Makefile
	gnome-integration-old/src/Makefile
	gnome-integration-old/data/Makefile
	
	icon-effect/Makefile
	icon-effect/src/Makefile
	icon-effect/data/Makefile
	icon-effect/data/icon-effect.conf
	
	illusion/Makefile
	illusion/src/Makefile
	illusion/data/Makefile
	illusion/data/illusion.conf
	
	kde-integration/Makefile
	kde-integration/src/Makefile
	kde-integration/data/Makefile
	
	keyboard-indicator/Makefile
	keyboard-indicator/src/Makefile
	keyboard-indicator/data/Makefile
	keyboard-indicator/data/keyboard-indicator.conf
	
	logout/Makefile
	logout/src/Makefile
	logout/data/Makefile
	logout/data/logout.conf
	
	mail/Makefile
	mail/src/Makefile
	mail/data/Makefile
	mail/data/mail.conf
	mail/data/themes/Makefile
	mail/data/themes/Default/Makefile
	
	motion-blur/Makefile
	motion-blur/src/Makefile
	motion-blur/data/Makefile
	motion-blur/data/motion_blur.conf
	
	musicPlayer/Makefile
	musicPlayer/src/Makefile
	musicPlayer/data/Makefile
	musicPlayer/data/musicPlayer.conf
	musicPlayer/data/themes/Makefile
	musicPlayer/data/themes/cd_box_simple/Makefile
	
	netspeed/Makefile
	netspeed/src/Makefile
	netspeed/data/Makefile
	netspeed/data/netspeed.conf
	
	Network-Monitor/Makefile
	Network-Monitor/src/Makefile
	Network-Monitor/data/Makefile
	Network-Monitor/data/Network-Monitor.conf
	
	powermanager/Makefile
	powermanager/src/Makefile
	powermanager/data/Makefile
	powermanager/data/powermanager.conf
	
	dock-rendering/Makefile
	dock-rendering/src/Makefile
	dock-rendering/data/Makefile
	dock-rendering/data/rendering.conf
	
	desklet-rendering/Makefile
	desklet-rendering/src/Makefile
	desklet-rendering/data/Makefile
	
	dialog-rendering/Makefile
	dialog-rendering/src/Makefile
	dialog-rendering/data/Makefile
	dialog-rendering/data/dialog-rendering.conf
	
	quick-browser/Makefile
	quick-browser/src/Makefile
	quick-browser/data/Makefile
	quick-browser/data/quick-browser.conf
	
	RSSreader/Makefile
	RSSreader/src/Makefile
	RSSreader/data/Makefile
	RSSreader/data/RSSreader.conf
	
	Scooby-Do/Makefile
	Scooby-Do/src/Makefile
	Scooby-Do/data/Makefile
	Scooby-Do/data/Scooby-Do.conf
	
	shortcuts/Makefile
	shortcuts/src/Makefile
	shortcuts/data/Makefile
	shortcuts/data/shortcuts.conf
	
	showDesktop/Makefile
	showDesktop/src/Makefile
	showDesktop/data/Makefile
	showDesktop/data/showDesktop.conf
	
	show-mouse/Makefile
	show-mouse/src/Makefile
	show-mouse/data/Makefile
	show-mouse/data/show_mouse.conf
	
	slider/Makefile
	slider/src/Makefile
	slider/data/Makefile
	slider/data/slider.conf
	
	stack/Makefile
	stack/src/Makefile
	stack/data/Makefile
	stack/data/stack.conf

	switcher/Makefile
	switcher/src/Makefile
	switcher/data/Makefile
	switcher/data/switcher.conf
	
	System-Monitor/Makefile
	System-Monitor/src/Makefile
	System-Monitor/data/Makefile
	System-Monitor/data/System-Monitor.conf
	
	systray/Makefile
	systray/src/Makefile
	systray/data/Makefile
	systray/data/systray.conf
	
	terminal/Makefile
	terminal/src/Makefile
	terminal/data/Makefile
	terminal/data/terminal.conf
	
	tomboy/Makefile
	tomboy/src/Makefile
	tomboy/data/Makefile
	tomboy/data/tomboy.conf
	
	Toons/Makefile
	Toons/src/Makefile
	Toons/data/Makefile
	Toons/data/Toons.conf
	Toons/data/themes/Makefile
	Toons/data/themes/Classic/Makefile
	
	weather/Makefile
	weather/src/Makefile
	weather/data/Makefile
	weather/data/weather.conf
	weather/data/themes/Makefile
	weather/data/themes/Classic/Makefile
	
	weblets/Makefile
	weblets/src/Makefile
	weblets/data/Makefile
	weblets/data/weblets.conf
	
	wifi/Makefile
	wifi/src/Makefile
	wifi/data/Makefile
	wifi/data/wifi.conf
	
	xfce-integration/Makefile
	xfce-integration/src/Makefile
	xfce-integration/data/Makefile
	
	Xgamma/Makefile
	Xgamma/src/Makefile
	Xgamma/data/Makefile
	Xgamma/data/Xgamma.conf
	])

AC_OUTPUT([po/Makefile
	])

echo "Cairo-Dock-plugins will be compiled with the following options :"
echo " * Compil gnome-integration plug-in : "${with_gnome_support}
echo " * Compil gnome-integration-old plug-in : "${with_old_gnome_support}
echo " * Compil xfce-integration plug-in : "${with_xfce_support}
echo " * Compil kde-integration plug-in : "${with_kde_support}
echo " * Compil AlsaMixer applet : "${with_alsa_mixer}
echo " * Compil Terminal applet : "${with_terminal}
echo " * Compil PowerManager applet : "${with_powermanager}
echo " * Compil Wifi applet : "${with_wifi}
echo " * Compil Tomboy applet : "${with_tomboy}
echo " * Compil Xgamma applet : "${with_xgamma}
echo " * Compil GMenu applet : "${with_gmenu}
echo " * Enable gio in GMenu applet : "${with_gio_in_gmenu}
echo " * Compil Mail applet : "${with_mail}
echo " * Compil Weblets applet : "${with_weblets}
echo " * Compil keyboard-indicator applet : "${with_keyboard_indicator}
echo " * Compil Dnd2share applet : "${with_dnd2share}
echo " * Compil MusicPlayer applet : "${with_musicplayer}
echo " * Compil RSSreader applet : "${with_rssreader}
echo " * Enable xrandr in Show-Desktop applet : "${with_xrandr_in_show_desktop}
echo " * Compil Network-Monitor applet : "${with_network_monitor}
echo " * Compil Scooby-Do applet : "${with_scooby_do}