DATADIR is obtained from the configure script

This commit is contained in:
Jaroslav Kysela 2001-06-26 10:45:10 +00:00
parent 67e23a08df
commit 556143d0de
2 changed files with 5 additions and 4 deletions

View file

@ -6,3 +6,6 @@
/* Sound library version string */ /* Sound library version string */
#undef SND_LIB_VERSION #undef SND_LIB_VERSION
/* DATA directory */
#undef DATADIR

View file

@ -22,11 +22,9 @@
#ifndef __LOCAL_H #ifndef __LOCAL_H
#define __LOCAL_H #define __LOCAL_H
#define ALSA_LIB "libasound.so" #include "config.h"
#ifndef DATADIR #define ALSA_LIB "libasound.so"
#define DATADIR "/usr/share"
#endif
#define _snd_config_iterator list_head #define _snd_config_iterator list_head
#define _snd_interval sndrv_interval #define _snd_interval sndrv_interval