Skip to content

Commit

Permalink
set $prefix to default if no prefix was given
Browse files Browse the repository at this point in the history
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@137 ea778897-0a13-0410-b9d1-a72fbfd435f5
  • Loading branch information
eht16 committed Jan 16, 2006
1 parent 85f663e commit d5f4bc8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ AC_CHECK_FILE([/dev/urandom], AC_DEFINE([HAVE_DEVURANDOM], [1], [Define that you
AC_CHECK_FILE([/dev/random], AC_DEFINE([HAVE_DEVRANDOM], [1], [Define that you found /dev/random]))


GTK_VERSION=`$PKG_CONFIG gtk+-2.0 --modversion`
GTK_VERSION=`$PKG_CONFIG --modversion gtk+-2.0`

GETTEXT_PACKAGE=geany
AC_SUBST(GETTEXT_PACKAGE)
Expand All @@ -90,6 +90,13 @@ dnl Add the languages which your application supports here.
ALL_LINGUAS="de"
AM_GLIB_GNU_GETTEXT

# Set ${datadir}
if test "x${datadir}" = 'x${prefix}/share'; then
if test "x${prefix}" = "xNONE"; then
prefix=${ac_default_prefix}
fi
fi

GEANY_PIXMAPS_DIR=`eval echo ${datadir}/pixmaps`
AC_SUBST(GEANY_PIXMAPS_DIR)

Expand Down

0 comments on commit d5f4bc8

Please sign in to comment.