Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 149376
Collapse All | Expand All

(-)fcron-3.0.1.orig/configure.in (-15 / +4 lines)
Lines 229-241 Link Here
229
    ;;
229
    ;;
230
  *)
230
  *)
231
    AC_MSG_CHECKING(editor)
231
    AC_MSG_CHECKING(editor)
232
    if test -x "$withval"; then
232
    AC_DEFINE_UNQUOTED(EDITOR, "$withval")
233
      AC_DEFINE_UNQUOTED(EDITOR, "$withval")
233
    AC_MSG_RESULT($withval)
234
      AC_MSG_RESULT($withval)
235
    else
236
      AC_MSG_ERROR([
237
File $withval is not an executable file])
238
    fi
239
    ;;
234
    ;;
240
  esac ], [
235
  esac ], [
241
  AC_PATH_PROG(EDITOR, vi)
236
  AC_PATH_PROG(EDITOR, vi)
Lines 268-280 Link Here
268
    fi
263
    fi
269
    ;;
264
    ;;
270
  *)
265
  *)
271
    if test -d "$withval"; then
272
      etcdir="$withval"
266
      etcdir="$withval"
273
      AC_MSG_RESULT($withval)
274
    else
275
      AC_MSG_ERROR([
276
Directory $withval does not exist])
277
    fi
278
    ;;
267
    ;;
279
  esac ],
268
  esac ],
280
  if test -d "/etc"; then
269
  if test -d "/etc"; then
Lines 798-804 Link Here
798
[  --with-debug=CFLAGS	Use default debug flags or CFLAGS if given to compile fcron in debug mode.],
787
[  --with-debug=CFLAGS	Use default debug flags or CFLAGS if given to compile fcron in debug mode.],
799
[ case "$withval" in
788
[ case "$withval" in
800
  no)
789
  no)
801
    cflags="-O2 -Wall"
790
    cflags="-Wall"
802
    debug="0"
791
    debug="0"
803
    ;;
792
    ;;
804
  yes)
793
  yes)
Lines 811-817 Link Here
811
    debug="1"
800
    debug="1"
812
    ;;
801
    ;;
813
  esac ],
802
  esac ],
814
    cflags="-O2 -Wall"
803
    cflags=""
815
    debug="0"
804
    debug="0"
816
)
805
)
817
DEBUG=$debug
806
DEBUG=$debug

Return to bug 149376