~ubuntu-branches/debian/stretch/grub2/stretch

« back to all changes in this revision

Viewing changes to configure.ac

Tags: upstream-1.98+20100705
ImportĀ upstreamĀ versionĀ 1.98+20100705

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
  AC_MSG_ERROR([bison is not found])
180
180
fi
181
181
 
 
182
FONT_SOURCE=
 
183
 
182
184
for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
183
185
  for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/unifont; do
184
186
    if test -f "$dir/unifont.$ext"; then
185
 
      AC_SUBST([FONT_SOURCE], [$dir/unifont.$ext])
 
187
      FONT_SOURCE="$dir/unifont.$ext"
186
188
      break 2
187
189
    fi
188
190
  done
189
191
done
190
192
 
 
193
if test "x$FONT_SOURCE" = x && ( test "x$platform" = xqemu || test "x$platform" = xyeeloong ); then
 
194
   AC_MSG_ERROR([qemu and yeeloong ports need unifont])
 
195
fi
 
196
 
 
197
AC_SUBST([FONT_SOURCE]) 
 
198
 
191
199
AC_PROG_INSTALL
192
200
AC_PROG_AWK
193
201
AC_PROG_LEX