X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=configure.ac;h=63f2034434e53fce1b191899511b865e1a25da68;hp=c5ac1f048170e206ca6eaa05bc8f9187b3cd5671;hb=838bc00015eb7f583c7cf4b3b1007697bf047da1;hpb=5e5a883d665b09cc725c9c2baaaa98703c85c30e diff --git a/configure.ac b/configure.ac index c5ac1f0..63f2034 100644 --- a/configure.ac +++ b/configure.ac @@ -70,12 +70,12 @@ AC_ARG_WITH([assetdir], [eval DATADIR="$datarootdir/yoink"]) AC_SUBST([DATADIR]) - AC_DEFINE_UNQUOTED([YOINK_DATADIR], ["$DATADIR"], [Define to path of game asset directory.]) -AC_DEFINE_UNQUOTED([YOINK_CONFIGFILES], - ["\$HOME/.yoinkrc:/etc/yoinkrc:$DATADIR/yoinkrc"], +CONFIGFILES="\$HOME/.yoinkrc:/etc/yoinkrc:$DATADIR/yoinkrc" + +AC_DEFINE_UNQUOTED([YOINK_CONFIGFILES], ["$CONFIGFILES"], [Define to colon-delimited config file paths.]) @@ -102,8 +102,8 @@ AC_SEARCH_LIBS([glBegin], [GL],, [AC_MSG_ERROR([libGL is required])]) AC_SEARCH_LIBS([clock_gettime], [rt], - [AC_DEFINE([HAVE_LIBRT], 1, - [Define to 1 if you have the 'rt' library.])]) + [AC_DEFINE([HAVE_CLOCK_GETTIME], 1, + [Define to 1 if you have the 'clock_gettime' function.])]) # @@ -135,7 +135,7 @@ AC_TYPE_SSIZE_T AC_FUNC_ERROR_AT_LINE AC_FUNC_STRTOD -AC_CHECK_FUNCS([strchr strcspn strrchr strstr]) +AC_CHECK_FUNCS([nanosleep strchr strcspn strrchr strstr]) #