phriedrich schrieb:

>>then re-ran libtoolize and autogen. Anyways patch is here:
>>http://gimpel.ath.cx/~tom/eloquence-beep-0.4.patch , but note that it
>>breaks xmms support!
>>That was more a "good luck" work than really knowing what i did, cause
>>i'm no coder and knowledge is limited to the VERY basics..
>>    
>>
>I believe the biggest problem is my insufficient knowledge of all the
>funny makefile stuff, the idea is to let configure check if beep media
>player is found, and if so, compiles support in and enables an option in
>the menu to select the player...i'll see...
>
>  
>
First of all, I'm also very new to autoconf and automake. So perhaps I
am totally wrong.

I think it's not important if bpm or xmms are install, but if
xmms/xmmsctrl.h and/or beep-mediaplayer/bmp/beepctrl.h exist.
To check the header files add this line in your configure.in:

AC_CHECK_HEADERS(xmms/xmmsctrl.h beep-media-player/bmp/beepctrl.h)

This autoconfig macro defines
#define HAVE_BEEP_MEDIA_PLAYER_BMP_BEEPCTRL_H 1
and/or
#define HAVE_XMMS_XMMSCTRL_H 1
in youre config.h if you have got the header file(s)

To use this macros, you must only add
#include "config.h"
in your source.

And now you can easily check them in your source.
e.g.:
#ifdef HAVE_XMMS_XMMSCTRL_H
  #include <xmms/xmmsctrl.h>
#endif

I hope I could help you a little bit

peat


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to