Skip to content

Commit

Permalink
fix: Install to /usr instead of /usr/local
Browse files Browse the repository at this point in the history
* Changed the default install path to /usr by hardcoding
  ac_default_prefix

Signed-off-by: mr.Shu <mr@shu.io>
  • Loading branch information
mrshu committed Aug 8, 2014
1 parent 3ec8b38 commit 1e38e7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ ALL_LINGUAS="ca cs_CZ de el es fa fr gl hr hu id it ja nb_NO nl pa pl pt_BR ru s
AC_SUBST([GETTEXT_PACKAGE])
AC_SUBST([ALL_LINGUAS])

AC_PREFIX_DEFAULT(/usr)

dnl output files
AC_CONFIG_FILES([
Makefile
Expand Down
2 changes: 1 addition & 1 deletion m4/acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ AC_DEFUN([AS_AC_EXPAND],
prefix_save=$prefix
exec_prefix_save=$exec_prefix
dnl if no prefix given, then use /usr/local, the default prefix
dnl if no prefix given, then use /usr, the default prefix
if test "x$prefix" = "xNONE"; then
prefix=$ac_default_prefix
fi
Expand Down

0 comments on commit 1e38e7e

Please sign in to comment.