From 556143d0deaeefeb23fd5decc3d9b57652ef8308 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 26 Jun 2001 10:45:10 +0000 Subject: [PATCH] DATADIR is obtained from the configure script --- acconfig.h | 3 +++ include/local.h | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/acconfig.h b/acconfig.h index e26f1785..9891d48a 100644 --- a/acconfig.h +++ b/acconfig.h @@ -6,3 +6,6 @@ /* Sound library version string */ #undef SND_LIB_VERSION + +/* DATA directory */ +#undef DATADIR diff --git a/include/local.h b/include/local.h index e15018ae..55b6181a 100644 --- a/include/local.h +++ b/include/local.h @@ -22,11 +22,9 @@ #ifndef __LOCAL_H #define __LOCAL_H -#define ALSA_LIB "libasound.so" +#include "config.h" -#ifndef DATADIR -#define DATADIR "/usr/share" -#endif +#define ALSA_LIB "libasound.so" #define _snd_config_iterator list_head #define _snd_interval sndrv_interval -- 2.47.1